Guest User

Untitled

a guest
Nov 15th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. [INFO] Attaching agents: []
  2. Exception in thread "main" java.lang.IllegalStateException: Failed to read Class-Path attribute from manifest of jar file:/home/user/.m2/repository/ognl/ognl/3.0.8/ognl-3.0.8.jar
  3. at org.springframework.boot.devtools.restart.ChangeableUrls.getUrlsFromClassPathOfJarManifestIfPossible(ChangeableUrls.java:110)
  4. at org.springframework.boot.devtools.restart.ChangeableUrls.fromUrlClassLoader(ChangeableUrls.java:96)
  5. at org.springframework.boot.devtools.restart.DefaultRestartInitializer.getUrls(DefaultRestartInitializer.java:93)
  6. at org.springframework.boot.devtools.restart.DefaultRestartInitializer.getInitialUrls(DefaultRestartInitializer.java:56)
  7. at org.springframework.boot.devtools.restart.Restarter.<init>(Restarter.java:140)
  8. at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:546)
  9. at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:67)
  10. at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:45)
  11. at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
  12. at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
  13. at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
  14. at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:122)
  15. at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:69)
  16. at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:48)
  17. at org.springframework.boot.SpringApplication.run(SpringApplication.java:292)
  18. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
  19. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
  20. at com.example.hellospringboot.HelloSpringbootApplication.main(HelloSpringbootApplication.java:10)
  21. Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)
  22. at java.util.zip.ZipFile.read(Native Method)
  23. at java.util.zip.ZipFile.access$1400(ZipFile.java:60)
  24. at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:734)
  25. at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:434)
  26. at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
  27. at sun.misc.IOUtils.readFully(IOUtils.java:65)
  28. at java.util.jar.JarFile.getBytes(JarFile.java:425)
  29. at java.util.jar.JarFile.getManifestFromReference(JarFile.java:193)
  30. at java.util.jar.JarFile.getManifest(JarFile.java:180)
  31. at org.springframework.boot.devtools.restart.ChangeableUrls.getUrlsFromManifestClassPathAttribute(ChangeableUrls.java:131)
  32. at org.springframework.boot.devtools.restart.ChangeableUrls.getUrlsFromClassPathOfJarManifestIfPossible(ChangeableUrls.java:107)
  33. ... 17 more
  34.  
  35.  
  36. Solution:
  37.  
  38. Remove the directory file:/home/user/.m2/repository/ognl and build the project again.
Add Comment
Please, Sign In to add comment