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 | 6 months ago
  1. 0

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

    GitHub | 6 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
  2. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
  3. 0
    You might've forgotten to initialize the cursor you're using.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    You should define the TestContext class in your classpath
  6. 0
    If you need to get Albums.ALBUM_ID, you actually have to request for Albums._ID

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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