IDEA tomcat 项目运行时,Artifacts:Error during artifact deployment问题解决

终于解决,有效方法如下:

1、加载spring相关jar包到dependencies下,这一步非常重要:
IDEA tomcat 项目运行时,Artifacts:Error during artifact deployment问题解决
2、第二列清空,然后点击绿色加号,选择web application:exploded,然后from modules,然后出现项目名称,点击即可。以下为例子:IDEA tomcat 项目运行时,Artifacts:Error during artifact deployment问题解决
3、选择右上角tomcat处的Edit Configurations,默认没有的情况点击加号会出现。注意,下方的build处也要选择,点击绿色加号,选择artifacts对应的一栏,勾选exploded项即可。IDEA tomcat 项目运行时,Artifacts:Error during artifact deployment问题解决
配置成功后信息如下IDEA tomcat 项目运行时,Artifacts:Error during artifact deployment问题解决