当前位置:网站首页>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
边栏推荐
- MySQL实战优化高手12 Buffer Pool这个内存数据结构到底长个什么样子?
- C杂讲 文件 初讲
- 简单解决phpjm加密问题 免费phpjm解密工具
- The real future of hardware engineers may not be believed by you if I say so
- Vh6501 Learning Series
- MapReduce working mechanism
- Configure system environment variables through bat script
- Yarn organizational structure
- How can I take a shortcut to learn C language in college
- 《ASP.NET Core 6框架揭秘》样章发布[200页/5章]
猜你喜欢
嵌入式开发中的防御性C语言编程
Hugo blog graphical writing tool -- QT practice
在CANoe中通过Panel面板控制Test Module 运行(初级)
Teach you how to write the first MCU program hand in hand
四川云教和双师模式
Why can't TN-C use 2p circuit breaker?
33岁可以学PLC吗
Combined search /dfs solution - leetcode daily question - number of 1020 enclaves
寶塔的安裝和flask項目部署
C miscellaneous lecture continued
随机推荐
CANoe仿真功能之自动化序列(Automation Sequences )
再有人问你数据库缓存一致性的问题,直接把这篇文章发给他
Southwest University: Hu hang - Analysis on learning behavior and learning effect
15 医疗挂号系统_【预约挂号】
51单片机进修的一些感悟
Nc29 search in two-dimensional array
Download address of canoe, download and activation of can demo 16, and appendix of all canoe software versions
May brush question 02 - string
What you have to know about network IO model
Programmation défensive en langage C dans le développement intégré
oracle sys_ Context() function
Learning SCM is of great help to society
Random notes
CANoe不能自动识别串口号?那就封装个DLL让它必须行
AI的路线和资源
max-flow min-cut
MySQL实战优化高手08 生产经验:在数据库的压测过程中,如何360度无死角观察机器性能?
嵌入式中的合作开发--函数指针
The replay block of canoe still needs to be combined with CAPL script to make it clear
Popularization of security knowledge - twelve moves to protect mobile phones from network attacks