This content has been marked as final.
Show 1 reply
-
1. Re: javax.servlet.jar not loaded
darranl Aug 12, 2005 1:31 PM (in response to preeti12)The error message contains the answer to your problem: -
See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
This section of the specification says that a web application is not allowed to override J2SE or J2EE classes e.g. classes in the java.* and javax.* namepsaces.
You have included 'javax.servlet.jar' in your war so as the war is validated it looks as if you have attempted to override 'javax/servlet/Servlet'.
The solution is to remove the jar from your archive.