[jboss-dev-forums] [JBoss AS 7 Development] - Re: Issue with reflections

John Wasmat do-not-reply at jboss.com
Mon Jul 2 21:45:10 EDT 2012


John Wasmat [https://community.jboss.org/people/johnwasmat] created the discussion

"Re: Issue with reflections"

To view the discussion, visit: https://community.jboss.org/message/745593#745593

--------------------------------------------------------------
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
[https://community.jboss.org/message/745593#745593]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120702/bc7c023c/attachment.html 


More information about the jboss-dev-forums mailing list