java.io.FileNotFoundException: class path resource [org/springsource/restbucks/config/app/ApplicationConfig12345.class] cannot be opened because it does not exist

SpringSource Issue Tracker | Martin Lippert | 4 years ago
  1. 0

    java.io.FileNotFoundException: class path resource [org/springsource/restbucks/config/app/ApplicationConfig12345.class] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:157) at org.springframework.ide.eclipse.core.type.asm.SimpleClassReaderFactory.getClassReader(SimpleClassReaderFactory.java:67) at org.springframework.ide.eclipse.core.type.asm.CachingClassReaderFactory.getClassReader(CachingClassReaderFactory.java:61) at org.springframework.ide.eclipse.core.type.asm.SimpleClassReaderFactory.getClassReader(SimpleClassReaderFactory.java:63) at org.springframework.ide.eclipse.core.java.classreading.JdtConnectedMetadataReader.<init>(JdtConnectedMetadataReader.java:41) at org.springframework.ide.eclipse.core.java.classreading.JdtMetadataReaderFactory.getMetadataReader(JdtMetadataReaderFactory.java:56) at org.springframework.ide.eclipse.core.java.classreading.CachingJdtMetadataReaderFactory.getMetadataReader(CachingJdtMetadataReaderFactory.java:38) at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig.registerBean(BeansJavaConfig.java:279) at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig$1.call(BeansJavaConfig.java:148) at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig$1.call(BeansJavaConfig.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) !ENTRY org.springframework.ide.eclipse.beans.core 1 0 2013-04-16 14:43:54.920 !MESSAGE Error occured processing 'org.springsource.restbucks.config.app.ApplicationConfig12345' !STACK 0 java.lang.IllegalArgumentException: Class name must not be empty at org.springframework.util.Assert.hasLength(Assert.java:136) at org.springframework.util.ClassUtils.getShortName(ClassUtils.java:417) at org.springframework.context.annotation.AnnotationBeanNameGenerator.buildDefaultBeanName(AnnotationBeanNameGenerator.java:144) at org.springframework.context.annotation.AnnotationBeanNameGenerator.buildDefaultBeanName(AnnotationBeanNameGenerator.java:130) at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:76) at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig.registerBean(BeansJavaConfig.java:295) at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig$1.call(BeansJavaConfig.java:148) at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig$1.call(BeansJavaConfig.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)

    SpringSource Issue Tracker | 4 years ago | Martin Lippert (c)
    java.io.FileNotFoundException: class path resource [org/springsource/restbucks/config/app/ApplicationConfig12345.class] cannot be opened because it does not exist
  2. 0

    java.io.FileNotFoundException: class path resource [org/springsource/restbucks/config/app/ApplicationConfig12345.class] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:157) at org.springframework.ide.eclipse.core.type.asm.SimpleClassReaderFactory.getClassReader(SimpleClassReaderFactory.java:67) at org.springframework.ide.eclipse.core.type.asm.CachingClassReaderFactory.getClassReader(CachingClassReaderFactory.java:61) at org.springframework.ide.eclipse.core.type.asm.SimpleClassReaderFactory.getClassReader(SimpleClassReaderFactory.java:63) at org.springframework.ide.eclipse.core.java.classreading.JdtConnectedMetadataReader.<init>(JdtConnectedMetadataReader.java:41) at org.springframework.ide.eclipse.core.java.classreading.JdtMetadataReaderFactory.getMetadataReader(JdtMetadataReaderFactory.java:56) at org.springframework.ide.eclipse.core.java.classreading.CachingJdtMetadataReaderFactory.getMetadataReader(CachingJdtMetadataReaderFactory.java:38) at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig.registerBean(BeansJavaConfig.java:279) at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig$1.call(BeansJavaConfig.java:148) at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig$1.call(BeansJavaConfig.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) !ENTRY org.springframework.ide.eclipse.beans.core 1 0 2013-04-16 14:43:54.920 !MESSAGE Error occured processing 'org.springsource.restbucks.config.app.ApplicationConfig12345' !STACK 0 java.lang.IllegalArgumentException: Class name must not be empty at org.springframework.util.Assert.hasLength(Assert.java:136) at org.springframework.util.ClassUtils.getShortName(ClassUtils.java:417) at org.springframework.context.annotation.AnnotationBeanNameGenerator.buildDefaultBeanName(AnnotationBeanNameGenerator.java:144) at org.springframework.context.annotation.AnnotationBeanNameGenerator.buildDefaultBeanName(AnnotationBeanNameGenerator.java:130) at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:76) at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig.registerBean(BeansJavaConfig.java:295) at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig$1.call(BeansJavaConfig.java:148) at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig$1.call(BeansJavaConfig.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)

    SpringSource Issue Tracker | 4 years ago | Martin Lippert
    java.io.FileNotFoundException: class path resource [org/springsource/restbucks/config/app/ApplicationConfig12345.class] cannot be opened because it does not exist
  3. 0

    Spring data - "class path resource [org/jboss/resource/adapter/jdbc/vendor/MySQLExceptionSorter.class"

    Stack Overflow | 3 years ago | Urbanleg
    java.io.FileNotFoundException: class path resource [org/jboss/resource/adapter/jdbc/vendor/MySQLExceptionSorter.class] cannot be opened because it does not exist
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Sping controllers extending external abstract class throws classNotFoundException

    Stack Overflow | 2 years ago | jamesdeath123
    java.io.FileNotFoundException: class path resource [ca/wherego/common/controllers/BaseController.class] cannot be opened because it does not exist
  6. 0

    How to load multiple configuration file from classpath using @ImportResource annotation in Spring

    Stack Overflow | 2 years ago | Tyrion Lannister
    java.io.FileNotFoundException: class path resource [spring-repositories.xml,classpath:commonApplicationContext.xml] cannot be opened because it does not exist

  1. stigkj 1 times, last 2 weeks ago
  2. kjhdofjosvs 1 times, last 3 weeks ago
  3. marcbouvierdav 1 times, last 2 months ago
  4. linxiaolong 2 times, last 3 months ago
  5. ruifung 2 times, last 3 months ago
18 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 [org/springsource/restbucks/config/app/ApplicationConfig12345.class] cannot be opened because it does not exist

    at org.springframework.core.io.ClassPathResource.getInputStream()
  2. Spring Core
    ClassPathResource.getInputStream
    1. org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:157)
    1 frame
  3. org.springframework.ide
    BeansJavaConfig$1.call
    1. org.springframework.ide.eclipse.core.type.asm.SimpleClassReaderFactory.getClassReader(SimpleClassReaderFactory.java:67)
    2. org.springframework.ide.eclipse.core.type.asm.CachingClassReaderFactory.getClassReader(CachingClassReaderFactory.java:61)
    3. org.springframework.ide.eclipse.core.type.asm.SimpleClassReaderFactory.getClassReader(SimpleClassReaderFactory.java:63)
    4. org.springframework.ide.eclipse.core.java.classreading.JdtConnectedMetadataReader.<init>(JdtConnectedMetadataReader.java:41)
    5. org.springframework.ide.eclipse.core.java.classreading.JdtMetadataReaderFactory.getMetadataReader(JdtMetadataReaderFactory.java:56)
    6. org.springframework.ide.eclipse.core.java.classreading.CachingJdtMetadataReaderFactory.getMetadataReader(CachingJdtMetadataReaderFactory.java:38)
    7. org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig.registerBean(BeansJavaConfig.java:279)
    8. org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig$1.call(BeansJavaConfig.java:148)
    9. org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig$1.call(BeansJavaConfig.java:1)
    9 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    3. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    4. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    5. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    6. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    8. java.lang.Thread.run(Thread.java:722)
    8 frames