Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Servlet not working after deployment on Apache Tomcat 9.0
Servlet not working after deployment on Apache Tomcat 9.0 [message #1847555] Mon, 01 November 2021 11:29
ronak shah is currently offline ronak shahFriend
Messages: 1
Registered: November 2021
Junior Member
Servlet not working after deployment on Apache Tomcat 9.0.

I am new to JAVA development.

I have created a simple Servlet called 'test'. Here I have uploaded my code

its works in Eclipse with Apache Tomcat. But after deployment on Apache Tomcat, it gives the error " error instantiating servlet class".

Version is Tomcat 9.0.54 on both server and eclipse PC.

The operating system Win 10 and also tired on win server 2016.

At First time when I run Servlet, it gives an error "Error instantiating servlet class [com.MyServlets.test]" here I have uploaded a full error screenshot


And When I try to access the same servlet second time I get this The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. Here I have uploaded a full error screenshot



My other JSP page works properly on the same Apache Tomcat.
  • Attachment: first erro.JPG
    (Size: 122.51KB, Downloaded 32 times)
  • Attachment: second erro.JPG
    (Size: 31.46KB, Downloaded 27 times)
  • Attachment: code.JPG
    (Size: 60.41KB, Downloaded 30 times)
Previous Topic:Grey Boxes?
Next Topic:How to config CDT debug for cygwin?
Goto Forum:
  


Current Time: Sun Jan 23 19:44:19 GMT 2022

Powered by FUDForum. Page generated in 0.02872 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top