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.
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!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com