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

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问题解决

相关文章:

  • 2022-01-03
  • 2021-08-21
  • 2021-10-23
  • 2021-09-12
  • 2021-11-08
  • 2021-08-22
  • 2021-08-29
猜你喜欢
  • 2021-04-05
  • 2022-12-23
  • 2021-08-25
  • 2021-04-10
  • 2021-11-06
  • 2021-09-08
  • 2021-04-29
相关资源
相似解决方案