> java.lang.ClassFormatError: Absent Code attribute in method that is not > native or abstract in class file javax/persistence/Persistence
This suggests the jar you are using as a dependency which contains javax.persistence.Persistence has an issue of some kind. I'd assume you're depending on the API jar (containing only stubs for the methods) and yet your tests need an implementation Jar to work properly. I just now Googled and found this thread: http://forums.java.net/jive/message.jspa?messageID=226931 which links to this blog: http://weblogs.java.net/blog/ludo/archive/2007/01/java_ee_5_apis.html which confirms exactly what I stated above. Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org