I get following exception when I run AdviceClient.JDKBridge class is suppose to exists in j2ee.jar.But J2EE.jar contains com/sun/corba/ee/inte rnal/util/JDKBridge not com/sun/corba/se/internal/util/JDKBridge.
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/corba/se/inte rnal/util/JDKBridge at com.sun.corba.ee.internal.core.IOR$LocalCodeBaseSingletonHolder.<clin it>(IOR.java:79) at com.sun.corba.ee.internal.core.IOR.<init>(IOR.java:218) at com.sun.corba.ee.internal.iiop.messages.LocateReplyMessage_1_2.read(L ocateReplyMessage_1_2.java:137) at com.sun.corba.ee.internal.iiop.IIOPInputStream.unmarshalHeader(IIOPIn putStream.java:126) at com.sun.corba.ee.internal.iiop.IIOPConnection.getResponse(IIOPConnect ion.java:670) at com.sun.corba.ee.internal.iiop.IIOPConnection.send(IIOPConnection.jav
How can I get through this problem?
"Continuous effort - not strength or intelligence - is the key to unlocking our potential."
I just repeated everything. Uninstalled everything from my pc. Started all over again, from installation, setting the JAVA_HOME, J2EE_HOME, CLASSPATH, and PATH, and following the steps in the HFEJB Book. No rt.jar in CLASSPATH. Just the j2ee.jar and it worked fine.
Originally posted by Veena Point: Got it! Worked after setting rt.jar into classpath where JDKBridge was there.I thought JDKBridge it is reffering to in the exception existed in J2EE.jar file which i had already set in classpath.
I think this will be helpfull for any newbies who is trying to run AdviceClient.
It worked for me too ... thanks Veena for your advice!
Originally posted by shweta bulbule: Hi even i m getting the same error Exception in thread "main" java.lang.NoSuchMethodError: loadClass0 at com.sun.corba.se.internal.util.JDKClassLoader.specialLoadClass(Native Method)
but no explanation is given by anyone on this
can anyone suggest what may be the solution?
Does anybody have solution to the quoted problem? I recently ended up formatting my system and I now have only J2EE 1.3 and J2SE 1.3 and the corresponding environment variables .... and I came across the above error ... adding rt.jar doesn't solve the above problem!