java.lang.IllegalStateException: Cannot load configuration class: ***.service.constructionsite.ConstructionSiteApplication


Solutions on the web65

Solution icon of googlegroups
Cannot load configuration class: ***.service.constructionsite.ConstructionSiteApplication

Solution icon of github
Cannot load configuration class: com.example.app.view.WebConfig

Solution icon of googlegroups
via Google Groups by Marek Raszewski via StackOverflow, 1 week ago
Cannot load configuration class: xxx.xxx.configuration.AppConfiguration

Solution icon of googlegroups
via Google Groups by Gokhan Mansuroglu, 7 months ago
Cannot load configuration class: org.apereo.cas.config.CasEmbeddedContainerConfiguration

Solution icon of spring
via Spring JIRA by Marek Wiącek, 1 year ago
Cannot load configuration class: org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration

Solution icon of stackoverflow
Cannot load configuration class: com.tutorialspoint.HelloWorldConfig

Solution icon of stackoverflow
Cannot load configuration class: xxx.xxx.configuration.AppConfiguration

Solution icon of stackoverflow
Cannot load configuration class: com.sakthi.imsx.core.config.HibernateConfiguration

Solution icon of stackoverflow
via Stack Overflow by Jim
, 1 month ago
Cannot load configuration class: com.presto.udfs.creditmodel.CreditModelSpringConfig

Solution icon of stackoverflow
via Stack Overflow by Markus G.
, 2 weeks ago
Cannot load configuration class: at.ennui.backend.facebook.configuration.SocialConfig

Stack trace

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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 11 months ago
4 times, 1 year ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 more bugmates