Reputation: 703
I created a spring web app project in Eclipse, I can start the webapp from Eclipse and it will show the webpage correctly, but if I type following URL, it reports 404 error:
see below:
but type the URL like this is fine:
and I remember that I should find my web application "SpringMVC" in this folder:
%HOME%\apache-tomcat-8.5.23\webapps
but I can't see it, I don't know where is my project deployed by eclipse. so, can someone help me explain the reason, is there any configuration I need to do? what is the default folder the web application will be deployed to ?
Upvotes: 0
Views: 2693
Reputation: 1
Check the tomcat status from your terminal (CTRL-ALT-T from ubuntu) then sudo systemctl status tomcat Eclipse is starting/stopping the tomcat server during project testing so i guess you do not have the tomcat running when you try to access the localhost:8080
Upvotes: 0
Reputation: 2858
Update
Upvotes: 1