当前位置:网站首页>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>
边栏推荐
- 23研考生注意啦!备考期间最容易中招的骗局,居然是它们?!
- Spark 离线开发框架设计与实现
- 推送Markdown格式信息到釘釘機器人
- 伪原创智能改写api百度-收录良好
- 15 lines of code using mathematical formulas in wangeditor V5
- . Net 7 Preview 1 has been officially released
- Use of laravel verifier
- Detailed explanation of online group chat and dating platform project (servlet implementation)
- [untitled]
- Case analysis: using "measurement" to improve enterprise R & D efficiency | ones talk
猜你喜欢
15 lines of code using mathematical formulas in wangeditor V5

canvas 实现图片新增水印

伪原创智能改写api百度-收录良好

【js】-【数组、栈、队列、链表基础】-笔记

【js】-【数组应用】-学习笔记

【js】-【栈、队-应用】-学习笔记

推送Markdown格式信息到釘釘機器人
![[Wuhan University] information sharing of the first and second postgraduate entrance examinations](/img/ec/884e656a921e20a5679a2960c9ac4d.jpg)
[Wuhan University] information sharing of the first and second postgraduate entrance examinations

Parental delegation mechanism

How to submit the shopee opening and settlement flow?
随机推荐
EPICS记录参考2--EPICS过程数据库概念
Gocolly manual
The extra points and sharp tools are worthy of the trust | know that Chuangyu won the letter of thanks from the defense side of the attack and defense drill!
JD 618 conference tablet ranking list announced that the new dark horse brand staff will compete for the top three, learning from Huawei, the leader of domestic products
China solar thermal market trend report, technical dynamic innovation and market forecast
Daily practice (22): maximum sum of continuous subarrays
Second IPO of Huafang group: grown up in Zanthoxylum bungeanum, trapped in Zanthoxylum bungeanum
A big factory interview must ask: how to solve the problem of TCP reliable transmission? 8 pictures for you to learn in detail
Solution to the login error of tangdou people
Écoutez le fichier markdown et mettez à jour Hot next. Page JS
Detailed explanation of online group chat and dating platform project (servlet implementation)
【nvm】
[ROS play with turtle turtle]
Canvas to add watermark to pictures
【js】-【数组、栈、队列、链表基础】-笔记
How to add Google maps to a project
Laravel authentication module auth
Research Report on market supply and demand and strategy of China's solar charging controller industry
EPICS记录参考4--所有输入记录都有的字段和所有输出记录都有的字段
Selection (029) - what is the output of the following code?