报错为Failed to get nested archive for entry
java.io.IOException: Unable to open nested jar file
It has been compressed and nested jar files must be stored without compression,Please check the mechanism used to create your executable jar file
如果有出现该问题,请检查jar包压缩时是否用压缩软件方式打开。
如果丢进去的是第三方jar包或者更新后的引入lib包,复制到压缩目录时需要选择压缩方式,一定要选择存储方式。不然rar默认会给你再次压缩,部署到linux后项目就无法正常运行。再次压缩后大小与未压缩时不一致,所以会报错。
一定要选择存储方式复制或覆盖到压缩目录