由Maven插件创建的Uber / Fat jar导致Tibco Jars问题

时间:2018-07-24 06:21:53

标签: java maven

我们已经有了用于春季应用的uber jar,并且工作正常。最近,我们在内置消息传递功能中添加了以下依赖项:

<dependency>
            <groupId>com.tibco.tibrv</groupId>
            <artifactId>tibco-tibjms</artifactId>
        </dependency>
        <dependency>
            <groupId>com.tibco.tibrv</groupId>
            <artifactId>tibco-tibcrypt</artifactId>
        </dependency>

使用Maven Shade插件构建并运行后,出现以下错误:

Error: Invalid or corrupt jarfile

如果我尝试手动打开jar,则会显示以下错误:

•Invalid file name changed to: com/tibco/security/dyn/oOOO/oOoO(1).class (1,010)
•Invalid file name changed to: com/tibco/security/dyn/oOOO/ooOO(2).class (1,010)
•Invalid file name changed to: com/tibco/security/principals/MyHashMap$_o0(1).class (1,010)
•Invalid file name changed to: com/tibco/security/principals/MyHashMap$_oOo(1).class (1,010)
•Invalid file name changed to: com/tibco/security/principals/MyHashMap$_oo(1).class (1,010)
•Invalid file name changed to: com/tibco/security/ssl/A/oOOO(1).class (1,010)
•Invalid file name changed to: com/tibco/security/ssl/OoOO/oOOO(1).class (1,010)

请协助,我们需要以上依赖项来尝试移动依赖项的顺序,但问题相同。

0 个答案:

没有答案