Servlet jar not loaded Tomcat Issue
Have you looked at the relevant chapter of the servlet spec? It says:
It must not allow the WAR to override J2SE or Java servlet API
classes.
In other words, you should not be providing servlet.jar
in your webapp as it is already shipped with Tomcat. Remove it from your .war and restart Tomcat.
validateJarFile(servlet-api.jar) - jar not loaded in tomcat using eclipse
The error you are getting is because servlet-api needs to be on compile time build path, at runtime your app will have the servlet-api available from tomcat/lib
So add it to your build path simply, In short servlet-api
is required at compile aswell as runtime
Tomcat: Offending class: javax/servlet/Servlet.class then timeout
I finally found the solution, which was not a tomcat issue. There was actually nothing wrong in the tomcat logs, but I found somethig in the app logs.
At the end, all of this was just because of some distant virtual machine being down and used by some part of code I didn't work on.
Thanks for your replies.
Related Topics
How to Convert String to Date Without Knowing the Format
How to Force Browser to Download File
Jpa/Hibernate Native Queries Do Not Recognize Parameters
How to Read the Manifest File for a Webapp Running in Apache Tomcat
Setting Jvm Heap Size at Runtime
Eclipse Error: "Failed to Connect to Remote Vm"
What Code Folding Plugins Work on Eclipse 3.6
Import Xxx Cannot Be Resolved for Java Se Standard Classes
Declaring and Initializing Variables Within Java Switches
Springboot 2.6.0/Spring Fox 3 - Failed to Start Bean 'Documentationpluginsbootstrapper'
The Server Time Zone Value 'Aest' Is Unrecognized or Represents More Than One Time Zone
Java: How to Convert a Utc Timestamp to Local Time
Creating a Triangle with for Loops
How to Convert a Byte Array into a Double and Back