Martin Davidsson wrote:

I hate to spam, but I should include this too. I seem to get it more often than the other stack trace. Don't know if it helps or not :(

java.lang.NoClassDefFoundError
    at org.apache.ojb.odmg.OJB.(OJB.java:68)
    at org.apache.ojb.odmg.OJB.getInstance(OJB.java:76)

As Steve pointed out, you should *not* include the j2ee jar in the lib folder of your webapp.
The above error is more likely to be caused by something different because the ODMG impl is not dependent upon the Servlet spec nor J2EE AFAIK.


Also, if you're using Eclipse, then you can use the Sysdeo Tomcat Plugin to start Tomcat in Debug mode, in which case you simple add an Exception Breakpoint for NoClassDefFoundError. This will show you where the exception is thrown and what class is not found (IDEA will have something alike, I'm sure).

Tom


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to