码迷,mamicode.com
首页 > Web开发 > 详细

运行jsp时,报错404

时间:2017-04-30 14:07:32      阅读:555      评论:0      收藏:0      [点我收藏+]

标签:大小写   targe   tar   存在   位置   XML   sts   大小   lib   

The origin server did not find a current reprsentation for the target resource or is not willing to disclose that one exists.

解决: 
1. web.xml文件位置是否放错,应该放在WebContent/WEB-INF文件夹中 
2. web.xml文件中是否有拼写错误(特别是大小写) 
3. 应该导入的jar包是否正确导入,可存在WebContent/lib文件夹中

运行jsp时,报错404

标签:大小写   targe   tar   存在   位置   XML   sts   大小   lib   

原文地址:http://www.cnblogs.com/ZTPX/p/6789308.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!