简体   繁体   中英

localhost eclipse 404 tomcat 8

I just installed Eclipse and Tomcat 8 to work on a shared project, that I got from bitbucket/sourcetree.

But when I add the project to the Tomcat 8 server, I get 404 status.

I tried creating a new dynamic web project and made a test.html in WebContent, added it to the server and it worked.

What can be the reason that one projects works in my server, but the other one does not?

Check the shared project Targeted Runtimes. It could be set to another version of Tomcat.

Project -> Properties-> Targeted Runtimes

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM