简体   繁体   中英

Cant get tomcat to show webapp from deployed .war file

I followed a tutorial and am trying to learn to make my own web app. I am using Tomcat 8.0.47 and Spring MVC. Issue is I can go to localhost:8080 and see that the server is on but I cant see my basic webapp running when visiting localhost:8080/CrunchifySpringMVCTutorial page. I made a WAR file and dropped it into the /webapps/ folder inside tomcat folder and console shows that it deployed the war file. Any help is appreciated.

I am following this tutorial: http://crunchify.com/simplest-spring-mvc-hello-world-example-tutorial-spring-model-view-controller-tips/

rather than paste all the files I decided to link the guide. My set up is the same but cant figure out why it is not working. thanks.

看起来问题在于我需要添加CATALINA_HOME系统变量来正确设置我的tomcat服务器

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