当前位置:网站首页>Jar runs with error no main manifest attribute
Jar runs with error no main manifest attribute
2022-07-06 10:02:00 【Learn from Tao Ge】
jar Operation error reporting no main manifest attribute
solve
After investigation, it was found that maven In the project pom.xml No addition
<packaging>jar</packaging>
And the following configurations :
<build>
<!--maven The package of plug-ins -->
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
<resources>
<!-- pom.xml Add resources To configure -->
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
</includes>
</resource>
<resource>
<!-- The project will be packaged with java In the directory *.xml Files are also packaged -->
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>
Reference resources
边栏推荐
- [deep learning] semantic segmentation: thesis reading (neurips 2021) maskformer: per pixel classification is not all you need
- 大学C语言入门到底怎么学才可以走捷径
- PR 2021 quick start tutorial, first understanding the Premiere Pro working interface
- Control the operation of the test module through the panel in canoe (Advanced)
- Counter attack of noodles: redis asked 52 questions in a series, with detailed pictures and pictures. Now the interview is stable
- Notes of Dr. Carolyn ROS é's social networking speech
- How does the single chip microcomputer execute the main function from power on reset?
- Contest3145 - the 37th game of 2021 freshman individual training match_ C: Tour guide
- Yarn organizational structure
- Defensive C language programming in embedded development
猜你喜欢
[deep learning] semantic segmentation: thesis reading (neurips 2021) maskformer: per pixel classification is not all you need
tn-c为何不可用2p断路器?
16 医疗挂号系统_【预约下单】
寶塔的安裝和flask項目部署
Notes of Dr. Carolyn ROS é's social networking speech
C miscellaneous lecture continued
手把手教您怎么编写第一个单片机程序
C miscellaneous shallow copy and deep copy
C杂讲 文件 续讲
Learning SCM is of great help to society
随机推荐
Download address of canoe, download and activation of can demo 16, and appendix of all canoe software versions
The governor of New Jersey signed seven bills to improve gun safety
寶塔的安裝和flask項目部署
CANoe CAPL文件操作目录合集
Vh6501 Learning Series
在CANoe中通过Panel面板控制Test Module 运行(高级)
Redis集群方案应该怎么做?都有哪些方案?
Elk project monitoring platform deployment + deployment of detailed use (II)
Automation sequences of canoe simulation functions
May brush question 26 - concurrent search
C miscellaneous two-way circular linked list
Function description of shell command parser
June brush question 02 - string
Upload vulnerability
Hero League rotation map automatic rotation
Some thoughts on the study of 51 single chip microcomputer
Competition vscode Configuration Guide
C杂讲 文件 初讲
竞赛vscode配置指南
学习单片机对社会的帮助是很大的