当前位置:网站首页>jar中没有主清单属性
jar中没有主清单属性
2022-06-24 19:42:00 【程序员久安】
java程序用maven打jar包运行没有主清单属性
解决办法 加入一下插件
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<!-- 要运行主类的全路径-->
<mainClass>com.xx.xxxx</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
边栏推荐
- Cases of addition, deletion, modification and search of C # learning for two years and C # import and export (de duplication)
- Construction equipment [5]
- Case analysis: using "measurement" to improve enterprise R & D efficiency | ones talk
- Uncover the secrets of Huawei cloud enterprise redis issue 16: acid'true' transactions beyond open source redis
- Super detailed cookie addition, deletion, modification and query
- Epics record reference 2 -- epics process database concept
- [postgraduate entrance examination English] prepare for 2023, learn list9 words
- 关于某手滑块的一些更新(6-18,js逆向)
- [WSL] SSH Remote Connection and host port forwarding configuration
- 【js】-【链表-应用】-学习笔记
猜你喜欢

花房集团二次IPO:成于花椒,困于花椒

Some updates about a hand slider (6-18, JS reverse)
How should we measure agile R & D projects?
![[postgraduate entrance examination English] prepare for 2023, learn list9 words](/img/2d/9ff691c9ff50fba2df73f726db26f2.jpg)
[postgraduate entrance examination English] prepare for 2023, learn list9 words

记录一下MySql update会锁定哪些范围的数据

案例解析:用「度量」提升企业研发效能|ONES Talk
Mycms we media CMS V3.0, resource push optimization, new free template

Spark 离线开发框架设计与实现

【文本数据挖掘】中文命名实体识别:HMM模型+BiLSTM_CRF模型(Pytorch)【调研与实验分析】

Recommended course: workplace writing training
随机推荐
Laravel 认证模块 auth
Financial management [1]
监听 Markdown 文件并热更新 Next.js 页面
02_ Springboot starter case
Docker-mysql8-master-slave
Docker installation MySQL simple without pit
Research Report on research and investment prospects of China's container coating industry (2022 Edition)
A big factory interview must ask: how to solve the problem of TCP reliable transmission? 8 pictures for you to learn in detail
数字IC设计经验整理(二)
laravel 定时任务
F29oc analysis
Sword finger offer 13 Range of motion of robot
gocolly-手册
Spark 离线开发框架设计与实现
Detailed explanation of online group chat and dating platform project (servlet implementation)
文件包含漏洞问题
Force deduction solution summary 515- find the maximum value in each tree row
Dig deep into MySQL - resolve the difference between clustered and non clustered indexes
Research Report on terahertz imaging system industry - market status analysis and development prospect forecast
laravel 宝塔安全配置