当前位置:网站首页>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
边栏推荐
- C杂讲 双向循环链表
- Vscode common instructions
- VH6501学习系列文章
- Configure system environment variables through bat script
- Contrôle de l'exécution du module d'essai par panneau dans Canoe (primaire)
- Learning SCM is of great help to society
- docker MySQL解决时区问题
- Contest3145 - the 37th game of 2021 freshman individual training match_ B: Password
- The real future of hardware engineers may not be believed by you if I say so
- 硬件工程师的真实前途我说出来可能你们不信
猜你喜欢

Popularization of security knowledge - twelve moves to protect mobile phones from network attacks

docker MySQL解决时区问题

听哥一句劝,按这套嵌入式的课程内容和课程体系去学习

Embedded development is much more difficult than MCU? Talk about SCM and embedded development and design experience

面试突击62:group by 有哪些注意事项?

CANoe仿真功能之自动化序列(Automation Sequences )

Teach you how to write the first MCU program hand in hand

C miscellaneous lecture continued
![[CV] target detection: derivation of common terms and map evaluation indicators](/img/e8/04cc8336223c0ab2dea5638def88df.jpg)
[CV] target detection: derivation of common terms and map evaluation indicators

Target detection -- yolov2 paper intensive reading
随机推荐
Configure system environment variables through bat script
flask运维脚本(长时间运行)
May brush question 01 - array
Day 5 of MySQL learning
C杂讲 双向循环链表
Notes of Dr. Carolyn ROS é's social networking speech
Function description of shell command parser
MySQL实战优化高手12 Buffer Pool这个内存数据结构到底长个什么样子?
[one click] it only takes 30s to build a blog with one click - QT graphical tool
嵌入式中的合作开发--函数指针
Mexican SQL manual injection vulnerability test (mongodb database) problem solution
The real future of hardware engineers may not be believed by you if I say so
Retention policy of RMAN backup
嵌入式开发比单片机要难很多?谈谈单片机和嵌入式开发设计经历
May brush question 02 - string
17 医疗挂号系统_【微信支付】
Learning SCM is of great help to society
Une grande vague d'attaques à la source ouverte
零基础学习单片机切记这四点要求,少走弯路
Keep these four requirements in mind when learning single chip microcomputer with zero foundation and avoid detours