SimpleMetadataReaderFactory.getMetadataReader() has thrown a FileNotFoundException

java.io.FileNotFoundException
Javadoc
at org.springframework.core.io.ClassPathResource.getInputStream
(source)
at org.springframework.core.type.classreading.SimpleMetadataReader.<init>
(source)
at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader
(source)

Typical Exception Messages

  1. Failed to load ApplicationContext
  2. 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
  3. <No message>
  4. Failed to load bean class: ; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/security/config/annotation/authentication/configurers/GlobalAuthenticationConfigurerAdapter.class] cannot be opened because it does not exist
  5. Failed to load bean class: com.thehiddenu.ui.service.ageservice.AgeServiceController; nested exception is java.io.FileNotFoundException: class path resource [com/thehiddenu/ui/host/controller/AbstractServiceExecutionController.class] cannot be opened because it does not exist
  6. 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
  7. 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
  8. Failed to parse configuration class [ru.mcpvp.rpg.db.SpringBooter]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/boot/autoconfigure/EnableAutoConfigurationImportSelector.class] cannot be opened because it does not exist
  9. Failed to load bean class: ; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/web/WebApplicationInitializer.class] cannot be opened because it does not exist
  10. 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

Origin

ClassPathResource.getInputStream() has thrown a FileNotFoundException

java.io.FileNotFoundException
org.springframework.core.io.ClassPathResource.getInputStream
349Web pages
1Solution

Similar

Specific cases

External results for this pattern (50)

  1. MysticRyuujinvia GitHub2 weeks ago
    Failed to parse configuration class [com.ethercamp.harmony.Application]; nested exception is java.io.FileNotFoundException: class path resource [org/ethereum/vm/VMHook.class] cannot be opened because it does not exist
    Show stack trace
  2. monstervia Stack Overflow2 months ago
    Failed to parse configuration class [Application]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/session/data/mongo/config/annotation/web/reactive/ReactiveMongoWebSessionConfiguration.class] cannot be opened because it does not exist
    Show stack trace
  3. Failed to parse configuration class [com.sankuai.xy.safelog.SafelogApplication]; nested exception is java.io.FileNotFoundException: class path resource [org/apache/ibatis/plugin/Interceptor.class] cannot be opened because it does not exist
    Show stack trace
  4. WangBuErvia GitHub4 months ago
    Failed to process import candidates for configuration class [cn.kelaile.mall.log.Application]; nested exception is java.lang.IllegalStateException: Unable to read meta-data for class com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
    Show stack trace
  5. Ramakrishna Gvia Google Groups4 months ago
    Failed to process import candidates for configuration class [org.apereo.cas.web.CasWebApplication]; nested exception is java.lang.IllegalStateException: Unable to read meta-data for class
    Show stack trace
  6. 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
    Show stack trace
  7. ivangfrvia GitHub4 months ago
    Failed to process import candidates for configuration class [springfox.documentation.swagger2.configuration.Swagger2DocumentationConfiguration]; nested exception is java.io.FileNotFoundException: class path resource [springfox/documentation/schema/configuration/ModelsConfiguration.class] cannot be opened because it does not exist
    Show stack trace
  8. class path resource [ca/wherego/common/controllers/BaseController.class] cannot be opened because it does not exist
    Show stack trace
  9. Failed to parse configuration class [App]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/social/config/annotation/SocialConfigurerAdapter.class] cannot be opened because it does not exist
    Show stack trace
  10. Pratapvia Stack Overflow4 months ago
    Failed to parse configuration class [org.broadleafcommerce.vendor.paypal.web.processor.PayPalExpressCheckoutLinkProce ributeModifierAttrProcessor.class] cannot be opened because it does not exist
    Show stack trace