今天,启动WEB项目时方向报 Error during artifact deployment,经过查询发现是idea在打包部署是出现了问题

1、将spring相关jar包加入到web项目中

IDEA中Spring在WEB项目中加载时出现:Error during artifact deployment

2、找到Artifacts,将右边的默认的WebDemo:war exploded去掉,然后点击加号选择From Models,然后选择自己的项目,应用并保存

IDEA中Spring在WEB项目中加载时出现:Error during artifact deploymentIDEA中Spring在WEB项目中加载时出现:Error during artifact deployment

3、配置Tomcat,如果2处默认没有的话,点击添加,选择带有artifact的项,应用并保存

IDEA中Spring在WEB项目中加载时出现:Error during artifact deployment

相关文章:

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