Tomcat 404 error: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists

We Are Going To Discuss About Tomcat 404 error: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists . So lets Start this Java Article.

Tomcat 404 error: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists

  1. Tomcat 404 error: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists

    Hope this helps. From eclipse, you right click the project -> Run As -> Run on Server and then it worked for me. I used Eclipse Jee Neon and Apache Tomcat 9.0. 🙂
    I just removed the head portion in index.html file and it worked fine.This is the head tag in html file

  2. Tomcat 404 error: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists

    Hope this helps. From eclipse, you right click the project -> Run As -> Run on Server and then it worked for me. I used Eclipse Jee Neon and Apache Tomcat 9.0. 🙂
    I just removed the head portion in index.html file and it worked fine.This is the head tag in html file

Solution 1

Problem solved, I’ve not added the index.html. Which is point out in the web.xml

enter image description here

Note: a project may have more than one web.xml file.

if there are another web.xml in

src/main/webapp/WEB-INF

Then you might need to add another index (this time index.jsp) to

src/main/webapp/WEB-INF/pages/

Original Author Lê Quang Bảo Of This Content

Solution 2

Hope this helps. From eclipse, you right click the project -> Run As -> Run on Server and then it worked for me. I used Eclipse Jee Neon and Apache Tomcat 9.0. 🙂

I just removed the head portion in index.html file and it worked fine.This is the head tag in html file

Original Author Michael Joshua Ramos Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

Siddharth

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment