javax.servlet.ServletException

One moment my code was working fine. The other moment I see this exception. I am using Tomcat. The log doesn't say anything about my code.

Has someone faced this situation before ?

thanks !

AZ

[220 byte] By [azaidi1a] at [2007-11-27 11:21:11]
# 1

Put a try/catch block around your code, catch the exception, and within the catch, put e.printStackTrace() which will give you more info.

George123a at 2007-7-29 14:47:08 > top of Java-index,Java Essentials,Java Programming...
# 2

This happens when I introduce new code to my application. I have a line:

LuceneBodySearch object = new LuceneBodySearch();

With that line around, Tomcat throws that servlet exception. If I remove that line, it works fine. Seems like Tomcat cannot load the class file of this file. It is compiled, path is fine.

azaidi1a at 2007-7-29 14:47:08 > top of Java-index,Java Essentials,Java Programming...