I have resolved it at last! For some reason, tomcat is looking for
class files under the current directory, even that the CLASSPATH
variable does not point to the current directory. And in the current
directory there were some stray subdirectories with class files, that
apparently had priorities ov
Now, I changed the name of the method, adding an underscore before it,
clean and rebuild in Netbeans worked fine, the WAR worked in the
tomcat bundled with Netbeans, yet, copying the WAR to any other tomcat
I tried causes now:
javax.servlet.ServletException: Servlet execution threw an exception
r
5. And the error occurs also with Java 1.5 and Tomcat 5.5.15.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
More details:
1. The jars within the war do not have servlet_api.jar, too.
2. The method session.removeAttribute() works OK in
servlets.LoginScreenServlet.processRequest, but in the method called
by
processRequest it throws the exception.
3. processRequest is in the netbeans webapp, and removeUs
The error is there again.
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.NoClassDefFoundError: javax/servlet/http/HttpSession
org.algstoch.httpuserlib.Password.removeUserId(Password.java:118)
servlets.LoginScreenServlet.processRequest(Lo
Thank you for help. It was the tomcat web app that was putting the
servlet-api-jar into war. I corrected it and the app works ok again.
Artur
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
include it in your
.war.
Tim
-Original Message-
From: Artur Rataj [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 21, 2006 10:57 AM
To: users@tomcat.apache.org
Subject: Strange servlet exception
Hello!
I am developing a web app inside netbeans, and it worked until the following
Hello!
I am developing a web app inside netbeans, and it worked until the
following servlet exception began to appear:
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.NoClassDefFoundError: javax/servlet/http/HttpSession
org.algstoch.httpuserlib