Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Exception in thread "main" java.lang.IllegalStateException: Failed to get nested archive for entry BOOT-INF/lib/log4j-slf4j-impl-2.20.0.jar
- at org.springframework.boot.loader.archive.JarFileArchive.getNestedArchive(JarFileArchive.java:120)
- at org.springframework.boot.loader.archive.JarFileArchive$NestedArchiveIterator.adapt(JarFileArchive.java:274)
- at org.springframework.boot.loader.archive.JarFileArchive$NestedArchiveIterator.adapt(JarFileArchive.java:265)
- at org.springframework.boot.loader.archive.JarFileArchive$AbstractIterator.next(JarFileArchive.java:226)
- at org.springframework.boot.loader.ExecutableArchiveLauncher.createClassLoader(ExecutableArchiveLauncher.java:104)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:55)
- at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65)
- Caused by: java.io.IOException: Unable to open nested jar file 'BOOT-INF/lib/log4j-slf4j-impl-2.20.0.jar'
- at org.springframework.boot.loader.jar.JarFile.getNestedJarFile(JarFile.java:304)
- at org.springframework.boot.loader.jar.JarFile.getNestedJarFile(JarFile.java:290)
- at org.springframework.boot.loader.archive.JarFileArchive.getNestedArchive(JarFileArchive.java:116)
- ... 6 more
- Caused by: java.lang.IllegalStateException: Unable to open nested entry 'BOOT-INF/lib/log4j-slf4j-impl-2.20.0.jar'. It has been compressed and nested jar files must be stored without compression. Please check the mechanism used to create your executable jar file
- at org.springframework.boot.loader.jar.JarFile.createJarFileFromFileEntry(JarFile.java:330)
- at org.springframework.boot.loader.jar.JarFile.createJarFileFromEntry(JarFile.java:312)
- at org.springframework.boot.loader.jar.JarFile.getNestedJarFile(JarFile.java:301)
- ... 8 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement