当前位置:网站首页>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
边栏推荐
- Constants and pointers
- CANoe不能自动识别串口号?那就封装个DLL让它必须行
- Selection of software load balancing and hardware load balancing
- Some thoughts on the study of 51 single chip microcomputer
- 再有人问你数据库缓存一致性的问题,直接把这篇文章发给他
- Embedded development is much more difficult than MCU? Talk about SCM and embedded development and design experience
- The programming ranking list came out in February. Is the result as you expected?
- Bugku web guide
- Contest3145 - the 37th game of 2021 freshman individual training match_ C: Tour guide
- 单片机实现模块化编程:思维+实例+系统教程(实用程度令人发指)
猜你喜欢

South China Technology stack cnn+bilstm+attention

Carolyn Rosé博士的社交互通演讲记录

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

112 pages of mathematical knowledge sorting! Machine learning - a review of fundamentals of mathematics pptx

C miscellaneous shallow copy and deep copy

Contest3145 - the 37th game of 2021 freshman individual training match_ C: Tour guide

单片机实现模块化编程:思维+实例+系统教程(实用程度令人发指)

Redis distributed lock implementation redison 15 questions
![17 medical registration system_ [wechat Payment]](/img/b4/f9abfa0fb0447d727078069d888b57.png)
17 medical registration system_ [wechat Payment]

MySQL实战优化高手12 Buffer Pool这个内存数据结构到底长个什么样子?
随机推荐
Southwest University: Hu hang - Analysis on learning behavior and learning effect
硬件工程师的真实前途我说出来可能你们不信
CAPL 脚本打印函数 write ,writeEx ,writeLineEx ,writeToLog ,writeToLogEx ,writeDbgLevel 你真的分的清楚什么情况下用哪个吗?
The replay block of canoe still needs to be combined with CAPL script to make it clear
Combined search /dfs solution - leetcode daily question - number of 1020 enclaves
Bugku web guide
The 32-year-old fitness coach turned to a programmer and got an offer of 760000 a year. The experience of this older coder caused heated discussion
宝塔的安装和flask项目部署
Pointer learning
Cooperative development in embedded -- function pointer
Control the operation of the test module through the panel in canoe (primary)
Release of the sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
CAPL script printing functions write, writeex, writelineex, writetolog, writetologex, writedbglevel do you really know which one to use under what circumstances?
C#/. Net phase VI 01C Foundation_ 01: running environment, process of creating new C program, strict case sensitivity, meaning of class library
Notes of Dr. Carolyn ROS é's social networking speech
The programming ranking list came out in February. Is the result as you expected?
cmooc互联网+教育
June brush question 01 - array
I2C summary (single host and multi host)
Carolyn Rosé博士的社交互通演讲记录