当前位置:网站首页>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>
边栏推荐
- Selection (028) - what is the output of the following code?
- laravel 宝塔安全配置
- docker安装redis-简单而无坑
- 关于某手滑块的一些更新(6-18,js逆向)
- Research Report on market supply and demand and strategy of ceiling power supply device industry in China
- Recommended course: workplace writing training
- laravel 消息队列
- China solar window market trend report, technical dynamic innovation and market forecast
- Building Survey [3]
- laravel model 注意事项
猜你喜欢

Uncover the secrets of Huawei cloud enterprise redis issue 16: acid'true' transactions beyond open source redis

【nvm】

对抗训练理论分析:自适应步长快速对抗训练

Super detailed cookie addition, deletion, modification and query
Paddledtx v1.0 has been released, and its security and flexibility have been comprehensively improved!
Mycms we media CMS V3.0, resource push optimization, new free template

docker安装mysql-简单无坑

从客户端到服务器
![[postgraduate entrance examination English] prepare for 2023, learn list8 words](/img/25/d1f2c2b4c0958d381db87e5ef96df9.jpg)
[postgraduate entrance examination English] prepare for 2023, learn list8 words

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
随机推荐
Construction equipment [4]
【nvm】
Super detailed cookie addition, deletion, modification and query
Laravel 认证模块 auth
Epics record reference 2 -- epics process database concept
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
Dig deep into MySQL - resolve the difference between clustered and non clustered indexes
MySQL kills 10 people. How many questions can you hold on to?
laravel 创建 service层
2022 simulated 100 questions and simulated examination of high-altitude installation, maintenance and demolition
How to add Google maps to a project
【武汉大学】考研初试复试资料分享
Research and investment strategy report on China's bridge anticorrosive coating industry (2022 Edition)
Dynamic menu, auto align
Use of laravel verifier
【js】-【栈、队-应用】-学习笔记
Selection (026) - what is the output of the following code?
Dig deep into MySQL - resolve the clustered index / secondary index / federated index of InnoDB storage engine
Financial management [2]
How to submit the shopee opening and settlement flow?