JBoss Community

Re: Issue with reflections

created by John Wasmat in JBoss AS 7 Development - View the full discussion

Hello Tomaz,

 

I have jdk 1.7 installed. Can i have multiple instances of jdk 1.7 installed on the same machine? Following is the stacktrace

 

SEVERE: Exception in SetupEventTypes()null

java.lang.reflect.InvocationTargetException

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

          at java.lang.reflect.Constructor.newInstance(Unknown Source)

          at com.test.Engine.Init(Engine.java:78)

          at com.test.Engine.<init>(Engine.java:34)

          at com.test.Engine.getInstance(Engine.java:42)

          at com.test.JMSRecvClient.<init>(JMSRecvClient.java:50)

          at com.test.JMSRecvClient.main(JMSRecvClient.java:165)

Caused by: java.lang.NoClassDefFoundError: org/antlr/runtime/tree/TreeNodeStream

          at com.test.EPAdministratorImpl.createEPLStmt(EPAdministratorImpl.java:117)

          at com.test.EPAdministratorImpl.createEPL(EPAdministratorImpl.java:67)

          at com.test<init>(EPLStatements.java:24)

          ... 9 more

Caused by: java.lang.ClassNotFoundException: org.antlr.runtime.tree.TreeNodeStream

          at java.net.URLClassLoader$1.run(Unknown Source)

          at java.net.URLClassLoader$1.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.net.URLClassLoader.findClass(Unknown Source)

          at java.lang.ClassLoader.loadClass(Unknown Source)

          at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

          at java.lang.ClassLoader.loadClass(Unknown Source)

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community