【报错】no main manifest attribute, in xxxx.jar
生活随笔
收集整理的這篇文章主要介紹了
【报错】no main manifest attribute, in xxxx.jar
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
在你的pom.xml文件中一定要有這一段代碼
代碼段如下:
<build><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId><configuration><includeSystemScope>true</includeSystemScope><mainClass>com.gxuwz.clothing.ClothingAfterApplication</mainClass></configuration></plugin></plugins></build>mainClass里面的東西過對應的就是你的啟動類
總結
以上是生活随笔為你收集整理的【报错】no main manifest attribute, in xxxx.jar的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【报错】ERROR 1064 (4200
- 下一篇: 【阿里云 Linux 服务器】购买 Li