Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    A few things cause this exception:
    1) Check if you have all jars and if they're in the correct path.
    2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

  2. ,
    Expert tip

    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

Solutions on the web

via Stack Overflow by Alexander the Mysterious
, 1 year ago
Cannot load configuration class: plugin.MainCon fig
via Stack Overflow by Kurtiss
, 2 years ago
Cannot load configuration class: com.tutorialspoint.HelloWorldConfig
via Google Groups by Andrew Holland, 1 year ago
Cannot load configuration class: ***.service.constructionsite.ConstructionSiteApplication
via GitHub by spencergibb
, 1 year ago
Cannot load configuration class: org.springframework.boot.autoconfigure.web.HttpMessageConvertersAutoConfiguration
via GitHub by sharuzzaman
, 7 months ago
via Stack Overflow by Uday C.
, 5 days ago
java.lang.ClassNotFoundException: plugin.MainConfig	at Source)	at java.lang.ClassLoader.loadClass(Unknown Source)	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)	at java.lang.ClassLoader.loadClass(Unknown Source)	at org.springframework.util.ClassUtils.forName(	at	at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(	at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(	at	at	at	at	at org.springframework.context.annotation.AnnotationConfigApplicationContext.(	at plugin.RulerSystem.onLoad(	at org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugins(	at net.minecraft.server.v1_10_R1.DedicatedServer.init(	at	at Source)