将Spring项目部署到tomcat后,访问网页出现404错误
HTTP Status 404 – Not Found The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
1. 查看tomcat下的log文件
1
|
|
在WEB-INF/classes下创建logging.properties文件
1
2
|
|
重启tomcat,之后就能看到全部错误log。
2.详细错误
1
|
|
解决方法
1
2
3
4
5
|
|
本文转自Work Hard Work Smart博客园博客,原文链接:http://www.cnblogs.com/linlf03/p/6627580.html,如需转载请自行联系原作者