admin管理员组

文章数量:1612099

****错误: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上的配置要仔细一些,其它细节上稍微注意一下,一般程序报错都是有迹可循的,冷静下来认真分析总会找到解决的办法呢。

本文标签: 报错项目TomcatEclipseIDEA