java.lang.IllegalStateException: Failed to read Class-Path attribute from manifest of jar file:/C:/Users/Ramon/.m2/repository/ognl/ognl/3.0.8/ognl-3.0.8.jar

GitHub | rsallar | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hard to identify cause of IllegalStateException thrown by DevTools when it can't read jar's manifest

    GitHub | 7 months ago | rsallar
    java.lang.IllegalStateException: Failed to read Class-Path attribute from manifest of jar file:/C:/Users/Ramon/.m2/repository/ognl/ognl/3.0.8/ognl-3.0.8.jar

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Failed to read Class-Path attribute from manifest of jar file:/C:/Users/Ramon/.m2/repository/ognl/ognl/3.0.8/ognl-3.0.8.jar

      at org.springframework.boot.devtools.restart.ChangeableUrls.getUrlsFromClassPathOfJarManifestIfPossible()
    2. org.springframework.boot
      RestartApplicationListener.onApplicationEvent
      1. org.springframework.boot.devtools.restart.ChangeableUrls.getUrlsFromClassPathOfJarManifestIfPossible(ChangeableUrls.java:100)
      2. org.springframework.boot.devtools.restart.ChangeableUrls.fromUrlClassLoader(ChangeableUrls.java:88)
      3. org.springframework.boot.devtools.restart.DefaultRestartInitializer.getUrls(DefaultRestartInitializer.java:91)
      4. org.springframework.boot.devtools.restart.DefaultRestartInitializer.getInitialUrls(DefaultRestartInitializer.java:54)
      5. org.springframework.boot.devtools.restart.Restarter.<init>(Restarter.java:134)
      6. org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:531)
      7. org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartedEvent(RestartApplicationListener.java:64)
      8. org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:46)
      8 frames
    3. Spring Context
      SimpleApplicationEventMulticaster.multicastEvent
      1. org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)
      2. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)
      3. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:121)
      3 frames
    4. Spring Boot
      SpringApplication.run
      1. org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:111)
      2. org.springframework.boot.context.event.EventPublishingRunListener.started(EventPublishingRunListener.java:60)
      3. org.springframework.boot.SpringApplicationRunListeners.started(SpringApplicationRunListeners.java:48)
      4. org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
      5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)
      6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)
      6 frames
    5. com.github.rsallar
      UnderevalprjApplication.main
      1. com.github.rsallar.underevalprj.UnderevalprjApplication.main(UnderevalprjApplication.java:10)
      1 frame