admin管理员组文章数量:1612098
****错误:The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
1、导入项目
2、更新依赖
3、配置project structure,File→Project Structure
点击Add as Maven Project配置pom和Configure 指定web.xml路径
编辑modules,添加Web
添加如下图所示:
创建artifact
选中jar包添加到WEB-INF下的lib文件夹
最后添加External jar然后添加tomcat配置就可以了。
花了一天半的时间终于把这个步骤弄通了,现在发现导入工程的时候在Project structure上的配置要仔细一些,其它细节上稍微注意一下,一般程序报错都是有迹可循的,冷静下来认真分析总会找到解决的办法呢。
版权声明:本文标题:IDEA导入eclipse项目tomcat部署之后404报错The origin server did not find a current representation for the target 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1728629333a1166903.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论