Intellij fat one jar artifact does not generate a working output

China☆狼群 提交于 2019-12-17 06:18:12

问题


Intellij fat one jar artifact does not generate a working output. Below you can see my settings and project structure(left). When i click build artifact and then the generated output, nothing happens.


回答1:


mssql-jdbc-6.2.0.jre8.jar has the digital signature (MSFTSIG.RSA and MSFTSIG.SF files). When the jar is repackaged, the signature becomes broken. If you remove these files from the jar (either original one or the artifact), it should start fine.

Vote for this issue to get it addressed in the future updates.



来源:https://stackoverflow.com/questions/45154862/intellij-fat-one-jar-artifact-does-not-generate-a-working-output

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!