If you create a test in Eclipse, it's classpath will have something like:
Bootstrap Entries
jdk
User entries
myProject
Maven Dependencies
When using JPA annotations, such as @PersistenceContext, Maven Dependencies
must appear before myProject, or I'll get a NoSuchMethodError for
PersistenceContext.
Is there a way to fix this? Whenever I create a new test configuration I
must set this manually.
thanks
--
View this message in context:
http://www.nabble.com/Maven-dependencies-must-be-first-in-User-Entries%2C-or-Junit-won%27t-work-tp18587495p18587495.html
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email