原文:解決java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

一 問題來源 當項目依賴其他jar包的時候,打出的jar包執行出錯,拋出標題中的異常。 原因:因為依賴jar包中的META INF中有多余的.SF文件與當前jar包沖突。 二 解決方案 . 打包前排除 maven項目在pom.xml文件: . 打包后刪除 參考鏈接: .https: www.jianshu.com p cd f b a a .https: blog.csdn.net tian sh ...

2020-06-28 17:49 0 581 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM