当前位置:网站首页>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语言编程
- History of object recognition
- May brush question 01 - array
- Hugo blog graphical writing tool -- QT practice
- 四川云教和双师模式
- CANoe仿真功能之自动化序列(Automation Sequences )
- 单片机实现模块化编程:思维+实例+系统教程(实用程度令人发指)
- The real future of hardware engineers may not be believed by you if I say so
- 如何让shell脚本变成可执行文件
- A new understanding of RMAN retention policy recovery window
猜你喜欢

Control the operation of the test module through the panel in canoe (primary)

Why can't TN-C use 2p circuit breaker?

15 医疗挂号系统_【预约挂号】

Release of the sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]

四川云教和双师模式

PR 2021 quick start tutorial, first understanding the Premiere Pro working interface

嵌入式开发中的防御性C语言编程
![《ASP.NET Core 6框架揭秘》样章发布[200页/5章]](/img/4f/5688c391dd19129d912a3557732047.jpg)
《ASP.NET Core 6框架揭秘》样章发布[200页/5章]

CANoe不能自动识别串口号?那就封装个DLL让它必须行

The programming ranking list came out in February. Is the result as you expected?
随机推荐
14 医疗挂号系统_【阿里云OSS、用户认证与就诊人】
Tianmu MVC audit II
简单解决phpjm加密问题 免费phpjm解密工具
Why can't TN-C use 2p circuit breaker?
MySQL实战优化高手08 生产经验:在数据库的压测过程中,如何360度无死角观察机器性能?
西南大学:胡航-关于学习行为和学习效果分析
C miscellaneous two-way circular linked list
Hero League rotation chart manual rotation
jar运行报错no main manifest attribute
Interview shock 62: what are the precautions for group by?
听哥一句劝,按这套嵌入式的课程内容和课程体系去学习
Day 5 of MySQL learning
[deep learning] semantic segmentation: thesis reading (neurips 2021) maskformer: per pixel classification is not all you need
CAPL 脚本对.ini 配置文件的高阶操作
Upload vulnerability
Sichuan cloud education and double teacher model
硬件工程师的真实前途我说出来可能你们不信
Hugo blog graphical writing tool -- QT practice
A wave of open source notebooks is coming
Release of the sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]