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
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
Put a try/catch block around your code, catch the exception, and within the catch, put e.printStackTrace() which will give you more info.
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.