注意: 不能用winrar或7zip等普通解壓軟件鼠標拖入直接替換, 否則啟動報錯:
Caused by: java.lang.IllegalStateException: Unable to open nested entry 'BOOT-INF/lib/**.jar'. It has been compressed and nested jar files must be stored without compression. (嵌套的jar必須直接存儲, 而不能壓縮) Please check the mechanism used to create your executable jar file
解決方法1: jar命令解壓, 替換后進行壓縮(參考: https://www.cnblogs.com/zhjh256/p/10986920.html) jar -xvf ./*.jar jar -cfM0 *.jar ./ 解決方法2: winrar或7zip添加文件的時候, 將選擇壓縮方式由"標准"改為存儲(Store) (參考: https://www.jianshu.com/p/9df4a0bb46be)
