java.lang.IllegalStateException: Cannot load configuration class: plugin.MainCon fig

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Spring JavaConfig: ClassNotFoundException

    Stack Overflow | 5 months ago | Alexander the Mysterious
    java.lang.IllegalStateException: Cannot load configuration class: plugin.MainCon fig
  2. 0

    Basic spring programming Exception encountered during context initialization

    Stack Overflow | 6 months ago | sunny
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.tutorialspoint.HelloWorld] for bean with name 'helloWorld' defined in class path resource [Beans.xml]; nested exception is java.lang.ClassNotFoundException: com.tutorialspoint.HelloWorld
  3. 0

    java.lang.ClassNotFoundException: org.springframework.cache.ehcache.EhCacheFactoryBean

    Stack Overflow | 6 months ago | varunkr
    java.lang.ClassNotFoundException: org.springframework.cache.ehcache.EhCacheFactoryBean
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    graph-builder error downloading osm

    GitHub | 5 years ago | robertoferraz
    java.lang.ClassNotFoundException: org.opentripplanner.graph_builder.openstreetmap.impl.RegionBasedOpenStreetMapProviderImpl
  6. 0

    Bean Creation Exception with JBoss 5.1.2

    Stack Overflow | 3 years ago | ajit kumar
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.abc.myapp.cmc.infrastructure.util.CustomPropertyPlaceholderConfigurer] for bean with name 'applicationPropertyConfigurer' defined in ServletContext resource [/WEB-INF/spring-config/applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: com.abc.myapp.cmc.infrastructure.util.CustomPropertyPlaceholderConfigurer

  1. Andreas Häber 25 times, last 3 weeks ago
  2. batwalrus76 3 times, last 2 months ago
  3. kid 84 times, last 11 months ago
  4. iferca 3 times, last 2 weeks ago
  5. andyglick 1 times, last 2 weeks ago
68 more registered users
27 unregistered visitors
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.ClassNotFoundException

    plugin.MainConfig

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(Unknown Source)[?:1.8.0_73]
    2. java.lang.ClassLoader.loadClass(Unknown Source)[?:1.8.0_73]
    3. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)[?:1.8.0_73]
    4. java.lang.ClassLoader.loadClass(Unknown Source)[?:1.8.0_73]
    4 frames
  3. Spring Core
    ClassUtils.forName
    1. org.springframework.util.ClassUtils.forName(ClassUtils.java:250)[?:?]
    1 frame
  4. Spring Beans
    AbstractBeanDefinition.resolveBeanClass
    1. org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:394)[?:?]
    1 frame
  5. Spring Context
    AnnotationConfigApplicationContext.<init>
    1. org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:408)[?:?]
    2. org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:266)[?:?]
    3. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:284)[?:?]
    4. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:130)[?:?]
    5. org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681)[?:?]
    6. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:523)[?:?]
    7. org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:84)[?:?]
    7 frames
  6. plugin
    RulerSystem.onLoad
    1. plugin.RulerSystem.onLoad(RulerSystem.java:15)[?:?]
    1 frame
  7. org.bukkit.craftbukkit
    CraftServer.loadPlugins
    1. org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugins(CraftServer.java:302)[spigot.jar:git-Spigot-c55900f-9856d8a]
    1 frame
  8. net.minecraft.server
    MinecraftServer.run
    1. net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:202)[spigot.jar:git-Spigot-c55900f-9856d8a]
    2. net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:539)[spigot.jar:git-Spigot-c55900f-9856d8a]
    2 frames
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)[?:1.8.0_73]
    1 frame