当前位置:网站首页>Unable to process jar entry [module info. Class]
Unable to process jar entry [module info. Class]
2022-04-23 07:47:00 【Brother Bing】
Running environment :
Java edition :11.0.10operating system :Window 10
maven edition :3.8.1
tomcat7 The plug-in version :2.2
Problem description :
Use manven start-up tomcat7 An error is reported after the plug-in , Error is as follows :
serious : Unable to process Jar entry [module-info.class] from Jar [jar:file:/E:/myRepository/javax/xml/bind/jaxb-api/2.3.0/jaxb-api-2.3.0.jar!/] for annotations
Cause analysis :
`jaxb-api` Too high version results in , Find out where it is , Just exclude its dependencies .Solution :
Look, the solution of many bloggers on the Internet is to find jaxb-api jar package , Open it with decompression software 【 It's not decompression 】, Put the inside module-info.class Folder deletion , I tried it myself , It can really solve the problem , But I always feel that there is something wrong with this way , It's impossible to delete it every time you download it . Here's my solution , You see, you need to take it with you !
<!-- Tencent cloud SMS relies on -->
<dependency>
<groupId>com.tencentcloudapi</groupId>
<artifactId>tencentcloud-sdk-java</artifactId>
<version>3.1.270</version>
<exclusions>
<!-- Exclude the introduction of associated dependencies -->
<exclusion>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</exclusion>
</exclusions>
</dependency>
版权声明
本文为[Brother Bing]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230625585245.html
边栏推荐
猜你喜欢

将指定路径下的所有SVG文件导出成PNG等格式的图片(缩略图或原图大小)

SAP 导出Excel文件打开显示:“xxx“的文件格式和扩展名不匹配。文件可能已损坏或不安全。除非您信任其来源,否则请勿打开。是否仍要打开它?

防抖和节流

Custom time format (yyyy-mm-dd HH: mm: SS week x)

基于NLP的软件安全研究(二)

js之排他思想及案例

对复杂字典Dictionary&lt;T1,T2&gt;排序问题

Rethink | open the girl heart mode of station B and explore the design and implementation of APP skin changing mechanism

Towords Open World Object Detection

SAP SALV14 后台输出SALV数据可直接保存文件,发送Email(带排序、超链接、筛选格式)
随机推荐
Custom time format (yyyy-mm-dd HH: mm: SS week x)
ES6使用递归实现深拷贝
中间人环境mitmproxy搭建
js之自定义属性以及H5中如何判断自定义属性
Game assisted script development journey
C#操作注册表全攻略
二叉树的深度
Django uses MySQL database to solve error reporting
踩坑日记:Unable to process Jar entry [module-info.class]
Robust and Efficient Quadrotor Trajectory Generation for Fast Autonomous Flight
js之什么是事件?事件三要素以及操作元素
取得所有点列表中的最大值GetMaxPoint
层次输出二叉树
Unityshader Foundation
大学学习路线规划建议贴
Event system (II) multicast events
SAP PI/PO功能运行状态监控检查
.NET 5 的新功能 What‘s new in .NET 5
Methods of database query optimization
系统与软件安全研究(一)