This content has been marked as final.
Show 2 replies
-
1. Re: IllegalArgumentException: Not an entity when run as test
aslak May 31, 2011 10:48 AM (in response to bcn)addAsManifestResource will place persistence.xml in /META-INF, try using .addAsResource("persistence.xml", "META-INF/persistence.xml") instead, which will place it in /WEB-INF/classes/META-INF/persistence.xml
-
2. Re: IllegalArgumentException: Not an entity when run as test
bcn May 31, 2011 11:01 AM (in response to aslak)That did the trick, thanks!