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

Solutions on the web

via Google Groups by Andrew Holland, 1 year ago
Cannot load configuration class: ***.service.constructionsite.ConstructionSiteApplication
via Stack Overflow by Farooq Khan
, 1 month ago
Cannot load configuration class: com.xyz.commons.sdk.logging.autoconfigure.ExceptionInterceptorAutoConfiguration
via Stack Overflow by Marlon
, 1 year ago
Cannot load configuration class: com.rd.config.SecurityConfiguration$GlobalSecurityConfiguration
via GitHub by MartinoMensio
, 10 months ago
Cannot load configuration class: it.polito.ai.config.SecurityConfiguration$GlobalSecurityConfiguration
via Stack Overflow by Harkirat Singh Lamba
, 1 year ago
Cannot load configuration class: org.springframework.boot.autoconfigure.web.DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration
via GitHub by ubibi
, 1 year ago
Cannot load configuration class: org.springframework.boot.autoconfigure.web.DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration
java.lang.IllegalStateException: Cannot load configuration class: 
***.service.constructionsite.ConstructionSiteApplication	at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:403)	at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:249)	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:281)	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:125)	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:524)	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)