Thanks for the reply, Marina.
Removing the Ant.jar from Glassfish got rid of the Ant warning. However, I am
still getting the initialization error.
Testcase: initializationError(trefliq.persistence.CredentialEJBTest): Caused
an ERROR *Absent Code attribute in method that is not native or abstract in
class file javax/ejb/embeddable/EJBContainer* java.lang.ClassFormatError:
Absent Code attribute in method that is not native or abstract in class file
javax/ejb/embeddable/EJBContainer at
java.lang.ClassLoader.defineClass1(Native Method) at
java.lang.ClassLoader.defineClass(ClassLoader.java:791) at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at
java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at
java.net.URLClassLoader.access$100(URLClassLoader.java:71) at
java.net.URLClassLoader$1.run(URLClassLoader.java:361) at
java.net.URLClassLoader$1.run(URLClassLoader.java:355) at
java.security.AccessController.doPrivileged(Native Method) at
java.net.URLClassLoader.findClass(URLClassLoader.java:354) at
java.lang.ClassLoader.loadClass(ClassLoader.java:423) at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at
java.lang.ClassLoader.loadClass(ClassLoader.java:356) at
java.lang.Class.getDeclaredFields0(Native Method) at
java.lang.Class.privateGetDeclaredFields(Class.java:2308) at
java.lang.Class.getDeclaredFields(Class.java:1760) at
java.lang.reflect.Constructor.newInstance(Constructor.java:525) Do you
have any ideas? Thanks for your time.
--
[Message sent by forum member 'mrbhill']
View Post: http://forums.java.net/node/883666