Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.0.3.RELEASE:repackage (default) on project web-children: Execution default of goal org.springframework.boot:spring-boot-maven-plugin:2.0.3.RELEASE:repackage failed: Unable to find main class -> [Help 1]

maven打包报错Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.4.2.RELEASE:repa

第一次打包springboot的项目疏忽了 main方法是唯一的启动方法。

加上main方法,在打包

maven打包报错Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.4.2.RELEASE:repa

maven打包报错Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.4.2.RELEASE:repa

相关文章:

  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
  • 2021-05-27
  • 2021-09-04
  • 2021-07-18
  • 2021-12-27
猜你喜欢
  • 2021-05-20
  • 2021-05-16
  • 2021-11-25
  • 2022-01-11
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
相关资源
相似解决方案