org.springframework.beans.factory.BeanDefinitionStoreException

Failed to process import candidates for configuration class [my.package.master.MasterApplication]; nested exception is java.lang.IllegalStateException: java.io.FileNotFoundException: class path resource [my/package/extension/ExtensionAutoConfiguration.class] cannot be opened because it does not exist


Solutions on the web2328

Solution icon of stackoverflow
Failed to process import candidates for configuration class [my.package.master.MasterApplication]; nested exception is java.lang.IllegalStateException: java.io.FileNotFoundException: class path resource [my/package/extension/ExtensionAutoConfiguration.class] cannot be opened because it does not exist

Solution icon of googlegroups
via Google Groups by Sanket Gupte, 6 months ago
Failed to process import candidates for configuration class [org.nrg.xnat.initialization.RootConfig]; nested exception is java.io.FileNotFoundException: class path resource [org/nrg/xnat/configuration/XnatServicesConfig.class] cannot be opened because it does not exist

Solution icon of github
Failed to process import candidates for configuration class [com.comcast.bom.service.app.BomService]; nested exception is java.io.FileNotFoundException: class path resource [springfox/documentation/swagger/configuration/SwaggerCommonConfiguration.class] cannot be opened because it does not exist

Solution icon of github
via GitHub by lduparc
, 1 year ago
Failed to process import candidates for configuration class [com.github.vanroy.cloud.dashboard.config.CacheConfig]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/cache/aspectj/AspectJCachingConfiguration.class] cannot be opened because it does not exist

Solution icon of github
Failed to process import candidates for configuration class [org.springframework.cloud.aws.autoconfigure.jdbc.AmazonRdsDatabaseAutoConfiguration]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/cloud/aws/jdbc/config/annotation/AmazonRdsInstanceConfiguration$AbstractRegistrar.class] cannot be opened because it does not exist

Solution icon of github
via GitHub by tigrou83
, 8 months ago
**Failed to process import candidates for configuration class [com.nagra.ml.sp.cpm.core.CpmNeo4jConfiguration]**; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/data/neo4j/config/Neo4jConfiguration.class] cannot be opened because it does not exist

Solution icon of stackoverflow
Failed to process import candidates for configuration class [org.springframework.boot.autoconfigure.data.couchbase.CouchbaseDataAutoConfiguration]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/data/couchbase/config/AbstractCouchbaseDataConfiguration.class] cannot be opened because it does not exist

Solution icon of stackoverflow
via Stack Overflow by Sumit sagar
, 3 months ago
Failed to process import candidates for configuration class [com.sumit.demo.AppBootConfig]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/data/neo4j/config/Neo4jConfiguration.class] cannot be opened because it does not exist

Solution icon of web
Failed to process import candidates for configuration class [org.test.JobConfig]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/transaction/annotation/TransactionManagementConfigurationSelector.class] cannot be opened because it does not exist

Solution icon of github
via GitHub by osteinhauer
, 6 months ago
Failed to process import candidates for configuration class [com.giffing.wicket.spring.boot.starter.WicketAutoConfiguration]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/boot/context/embedded/ServletContextInitializer.class] cannot be opened because it does not exist

Stack trace

  • org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [my.package.master.MasterApplication]; nested exception is java.lang.IllegalStateException: java.io.FileNotFoundException: class path resource [my/package/extension/ExtensionAutoConfiguration.class] cannot be opened because it does not exist at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:482)[spring-context-4.3.5.RELEASE.jar!/:4.3.5.RELEASE] at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:184)[spring-context-4.3.5.RELEASE.jar!/:4.3.5.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:308)[spring-context-4.3.5.RELEASE.jar!/:4.3.5.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228)[spring-context-4.3.5.RELEASE.jar!/:4.3.5.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:270)[spring-context-4.3.5.RELEASE.jar!/:4.3.5.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:93)[spring-context-4.3.5.RELEASE.jar!/:4.3.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)[spring-context-4.3.5.RELEASE.jar!/:4.3.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:524)[spring-context-4.3.5.RELEASE.jar!/:4.3.5.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)[spring-boot-1.4.3.RELEASE.jar!/:1.4.3.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)[spring-boot-1.4.3.RELEASE.jar!/:1.4.3.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)[spring-boot-1.4.3.RELEASE.jar!/:1.4.3.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)[spring-boot-1.4.3.RELEASE.jar!/:1.4.3.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)[spring-boot-1.4.3.RELEASE.jar!/:1.4.3.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)[spring-boot-1.4.3.RELEASE.jar!/:1.4.3.RELEASE] at my.package.master.MasterApplication.main(MasterApplication.java:10)[classes!/:0.0.1-SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_101] at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)[master-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)[master-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)[master-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:521)[master-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] Caused by: java.lang.IllegalStateException: java.io.FileNotFoundException: class path resource [my/package/extension/ExtensionAutoConfiguration.class] cannot be opened because it does not exist at org.springframework.boot.autoconfigure.EnableAutoConfigurationImportSelector.selectImports(EnableAutoConfigurationImportSelector.java:94)[spring-boot-autoconfigure-1.4.3.RELEASE.jar!/:1.4.3.RELEASE] at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:474)[spring-context-4.3.5.RELEASE.jar!/:4.3.5.RELEASE] ... 22 more Caused by: java.io.FileNotFoundException: class path resource [my/package/extension/ExtensionAutoConfiguration.class] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172)[spring-core-4.3.5.RELEASE.jar!/:4.3.5.RELEASE] at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:50)[spring-core-4.3.5.RELEASE.jar!/:4.3.5.RELEASE] at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:98)[spring-core-4.3.5.RELEASE.jar!/:4.3.5.RELEASE] at org.springframework.boot.type.classreading.ConcurrentReferenceCachingMetadataReaderFactory.createMetadataReader(ConcurrentReferenceCachingMetadataReaderFactory.java:89)[spring-boot-1.4.3.RELEASE.jar!/:1.4.3.RELEASE] at org.springframework.boot.type.classreading.ConcurrentReferenceCachingMetadataReaderFactory.getMetadataReader(ConcurrentReferenceCachingMetadataReaderFactory.java:76)[spring-boot-1.4.3.RELEASE.jar!/:1.4.3.RELEASE] at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:93)[spring-core-4.3.5.RELEASE.jar!/:4.3.5.RELEASE] at org.springframework.boot.autoconfigure.AutoConfigurationSorter$AutoConfigurationClasses.<init>(AutoConfigurationSorter.java:110)[spring-boot-autoconfigure-1.4.3.RELEASE.jar!/:1.4.3.RELEASE] at org.springframework.boot.autoconfigure.AutoConfigurationSorter.getInPriorityOrder(AutoConfigurationSorter.java:54)[spring-boot-autoconfigure-1.4.3.RELEASE.jar!/:1.4.3.RELEASE] at org.springframework.boot.autoconfigure.EnableAutoConfigurationImportSelector.sort(EnableAutoConfigurationImportSelector.java:193)[spring-boot-autoconfigure-1.4.3.RELEASE.jar!/:1.4.3.RELEASE] at org.springframework.boot.autoconfigure.EnableAutoConfigurationImportSelector.selectImports(EnableAutoConfigurationImportSelector.java:89)[spring-boot-autoconfigure-1.4.3.RELEASE.jar!/:1.4.3.RELEASE] ... 23 more

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

8 times, 6 days ago
Once, 3 weeks ago
Once, 1 month ago
4 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
82 more bugmates