1、打开项目设置

IDEA在Maven webapp项目中打jar包

2、添加Artifacts

IDEA在Maven webapp项目中打jar包

3、修改jar包名,以及导入相关依赖包

IDEA在Maven webapp项目中打jar包

IDEA在Maven webapp项目中打jar包

 

 

 4、双击导入这两个文件

IDEA在Maven webapp项目中打jar包

5、设置主类

IDEA在Maven webapp项目中打jar包

 

 6、build jar包

IDEA在Maven webapp项目中打jar包

IDEA在Maven webapp项目中打jar包

7、完成

IDEA在Maven webapp项目中打jar包

 

相关文章:

  • 2021-10-20
  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
  • 2021-03-26
  • 2021-11-03
猜你喜欢
  • 2021-08-04
  • 2021-12-22
  • 2022-12-23
  • 2021-12-12
  • 2021-04-10
  • 2022-12-23
相关资源
相似解决方案