| Author |
NoClassDefFoundError
|
JJ Devine
Greenhorn
Joined: Jan 04, 2008
Posts: 2
|
|
Hi, I am having an issue where I am getting a NoClassDefFoundError when running a web app. The app is too complicated to explain here, but I am having a real problem identifying the cause of the issue because the only error I get is: java.lang.NoClassDefFoundError at com.iplanet.dpro.session.SessionID.parseSessionString(SessionID.java:295) at com.iplanet.dpro.session.SessionID.getSessionServerProtocol(SessionID.java:174) at com.iplanet.dpro.session.Session.getSessionServiceURL(Session.java:754) at com.iplanet.dpro.session.Session.getSession.... I.E. it isn't giving me an error message with the exception, so I have no idea what class it can't find a definition for. also tracing the (decompiled) code isn't giving me any obvious candidates either. As a general question, why when you get a java.lang.NoClassDefFoundError would you not get an accompanying error message? Thanks.
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32599
|
|
|
Not certain, but it may be that the whole application was previously compiled and a class has gone missing since then. You will find it very difficult to sort out from decompiled code; it might be easier to compile the decompiled code and see whether the lines numbers where the errors occur change!
|
 |
 |
|
|
subject: NoClassDefFoundError
|
|
|