Advertisement
SkullCN

Untitled

Jul 3rd, 2024
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. Exception in thread "main" java.lang.IllegalStateException: Failed to get nested archive for entry BOOT-INF/lib/log4j-slf4j-impl-2.20.0.jar
  2. at org.springframework.boot.loader.archive.JarFileArchive.getNestedArchive(JarFileArchive.java:120)
  3. at org.springframework.boot.loader.archive.JarFileArchive$NestedArchiveIterator.adapt(JarFileArchive.java:274)
  4. at org.springframework.boot.loader.archive.JarFileArchive$NestedArchiveIterator.adapt(JarFileArchive.java:265)
  5. at org.springframework.boot.loader.archive.JarFileArchive$AbstractIterator.next(JarFileArchive.java:226)
  6. at org.springframework.boot.loader.ExecutableArchiveLauncher.createClassLoader(ExecutableArchiveLauncher.java:104)
  7. at org.springframework.boot.loader.Launcher.launch(Launcher.java:55)
  8. at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65)
  9. Caused by: java.io.IOException: Unable to open nested jar file 'BOOT-INF/lib/log4j-slf4j-impl-2.20.0.jar'
  10. at org.springframework.boot.loader.jar.JarFile.getNestedJarFile(JarFile.java:304)
  11. at org.springframework.boot.loader.jar.JarFile.getNestedJarFile(JarFile.java:290)
  12. at org.springframework.boot.loader.archive.JarFileArchive.getNestedArchive(JarFileArchive.java:116)
  13. ... 6 more
  14. 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
  15. at org.springframework.boot.loader.jar.JarFile.createJarFileFromFileEntry(JarFile.java:330)
  16. at org.springframework.boot.loader.jar.JarFile.createJarFileFromEntry(JarFile.java:312)
  17. at org.springframework.boot.loader.jar.JarFile.getNestedJarFile(JarFile.java:301)
  18. ... 8 more
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement