• Post Reply Bookmark Topic Watch Topic
  • New Topic

Eexception in thread "main"  RSS feed

 
nishchal bhat
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the error msg i am getting. I am referring the tutorial from the sun site. Please tell me HOW TO SET THE CLASSPATH. Because i think the problem is with the classpath.

Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/corba/se/internal/util/JDKBridge at com.sun.corba.ee.internal.core.IOR$LocalCodeBaseSingletonHolder.<clinit>(IOR.java:90) at com.sun.corba.ee.internal.core.IOR.<init>(IOR.java:238) at com.sun.corba.ee.internal.iiop.messages.LocateReplyMessage_1_2.read(LocateReplyMessage_1_2.java:137) at com.sun.corba.ee.internal.iiop.IIOPInputStream.unmarshalHeader(IIOPInputStream.java:126) at com.sun.corba.ee.internal.iiop.IIOPConnection.getResponse(IIOPConnection.java:671) at com.sun.corba.ee.internal.iiop.IIOPConnection.send(IIOPConnection.java:778) at com.sun.corba.ee.internal.corba.InitialNamingClient.locateObject(InitialNamingClient.java:786) at com.sun.corba.ee.internal.corba.InitialNamingClient.getIORUsingHostInfo(InitialNamingClient.java:597) at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveCorbaloc(InitialNamingClient.java:573) at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingORBInitRef(InitialNamingClient.java:544) at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1080) at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:981) at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:2425) at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:52) at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:120) at javax.naming.InitialContext.lookup(InitialContext.java:351) at SimpleQueueSender.main(SimpleQueueSender.java:36)
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, the funny thing is that yes it is a classpath issue, but it can also be that the version of the jar that is in the classpath is an older version of the class.

Which jar would have that file, where do you have that jar, and java has a "-cp" command line option that you use to set classpaths.

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!