Exception in thread "main" java.lang.IllegalStateException: Failed to get nested archive for entry BOOT-INF/lib/byte-buddy-1.7.11.jar
at org.springframework.boot.loader.archive.JarFileArchive.getNestedArchive(JarFileArchive.java:108)
at org.springframework.boot.loader.archive.JarFileArchive.getNestedArchives(JarFileArchive.java:86)
at org.springframework.boot.loader.ExecutableArchiveLauncher.getClassPathArchives(ExecutableArchiveLauncher.java:70)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:49)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
Caused by: java.io.IOException: Unable to open nested jar file 'BOOT-INF/lib/byte-buddy-1.7.11.jar'
at org.springframework.boot.loader.jar.JarFile.getNestedJarFil
Springboot jar 部署IllegalStateException: Failed to get nested archive for entry BOOT-INF/lib/byte-bud
最新推荐文章于 2024-09-25 15:45:28 发布
本文介绍了如何处理Springboot部署时遇到的`IllegalStateException: Failed to get nested archive for entry BOOT-INF/lib/byte-buddy`错误。问题根源在于byte-buddy包为空,解决方案是删除1.7.11版本,通过Maven更新获取新版本,并尝试重新执行`java -jar`启动应用。
摘要由CSDN通过智能技术生成