org.springframework.beans.factory.BeanDefinitionStoreException: Failed to load bean class: fr.ummisco.oepicam.HomeController; nested exception is java.io.FileNotFoundException: class path resource [jdk/Profile+Annotation.class] cannot be opened because it does not exist

Stack Overflow | fidelus | 3 months ago
  1. 0

    Error with Spring MVC No implementation for java.util.Set<org.semanticweb.owlapi.io.OWLParserFactory>

    Stack Overflow | 3 months ago | fidelus
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to load bean class: fr.ummisco.oepicam.HomeController; nested exception is java.io.FileNotFoundException: class path resource [jdk/Profile+Annotation.class] cannot be opened because it does not exist
  2. 0

    Renaming Java Spring file causes FileNotFoundException on Tomcat deploy without work dir clean

    Stack Overflow | 2 years ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.ds.diagnostic.strategies.diagnostics.stats.Stats]; nested exception is java.io.FileNotFoundException: class path resource [com/ds/diagnostic/strategies/diagnostics/stats/Stats.class] cannot be opened because it does not exist
  3. 0

    Env=value, deploy on Tomcat | spring - maven - spring-mvc - tomcat - system-properties

    solutionscore.com | 1 year ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.ds.diagnostic.strategies.diagnostics.stats.Stats]; nested exception is java.io.FileNotFoundException: class path resource [com/ds/diagnostic/strategies/diagnostics/stats/Stats.class] cannot be opened because it does not exist
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Handle the use of @ComponentScan in the default package more gracefully

    GitHub | 2 years ago | wilkinsona
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [Application]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.class] cannot be opened because it does not exist
  6. 0

    An app that depends on spring-boot-starter-jersey and spring-boot-starter-data-jpa fails to start with a FileNotFoundException

    GitHub | 2 years ago | wilkinsona
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [demo.Stackoverflow27915560Application]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/web/servlet/config/annotation/WebMvcConfigurerAdapter.class] cannot be opened because it does not exist

  1. wendellpereira 4 times, last 3 months ago
  2. Shadd518 2 times, last 4 months ago
  3. kid 2 times, last 8 months ago
15 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.io.FileNotFoundException

    class path resource [jdk/Profile+Annotation.class] cannot be opened because it does not exist

    at org.springframework.core.io.ClassPathResource.getInputStream()
  2. Spring Core
    SimpleMetadataReaderFactory.getMetadataReader
    1. org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:158)
    2. org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:45)
    3. org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:80)
    4. org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:101)
    5. org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:76)
    5 frames
  3. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.annotation.ConfigurationClassParser.findAllAnnotationAttributes(ConfigurationClassParser.java:292)
    2. org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:226)
    3. org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:149)
    4. org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:126)
    5. org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:263)
    6. org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:203)
    7. org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:617)
    8. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:446)
    8 frames
  4. Spring MVC
    HttpServletBean.init
    1. org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631)
    2. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588)
    3. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645)
    4. org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508)
    5. org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449)
    6. org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133)
    6 frames
  5. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:158)
    1 frame
  6. Glassfish Core
    HostConfig$DeployDescriptor.run
    1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)
    2. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1144)
    3. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)
    4. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4914)
    5. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5201)
    6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    7. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    8. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    9. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    10. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:586)
    11. org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1750)
    11 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames