Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    via Stack Overflow by Human Being

    Use this method to gain access to the ApplicationContext:

    @Autowired
    private ApplicationContext applicationContext;
    

Solutions on the web

via SpringSource Issue Tracker by Ian Brandt, 1 year ago
class path resource [com/mydomain/mypackage/MyClass.class] cannot be opened because it does not exist
via SpringSource Issue Tracker by Ian Brandt, 1 year ago
class path resource [com/mydomain/mypackage/MyClass.class] cannot be opened because it does not exist
via SpringSource Issue Tracker by Martin Lippert, 1 year ago
class path resource [org/springsource/restbucks/config/app/ApplicationConfig12345.class] cannot be opened because it does not exist
via SpringSource Issue Tracker by Martin Lippert (c), 1 year ago
class path resource [org/springsource/restbucks/config/app/ApplicationConfig12345.class] cannot be opened because it does not exist
via SpringSource Issue Tracker by Leo Dos Santos (c), 1 year ago
class path resource [rewards/internal/aspects/DBExceptionHandlingAspect.class] cannot be opened because it does not exist
via Stack Overflow by Dragon_Slayer
, 1 year ago
class path resource [users.properties] cannot be opened because it does not exist
java.io.FileNotFoundException: class path resource [com/mydomain/mypackage/MyClass.class] cannot be opened because it does not exist	at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:158)	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.(JdtConnectedMetadataReader.java:42)	at org.springframework.ide.eclipse.core.java.classreading.JdtMetadataReaderFactory.getMetadataReader(JdtMetadataReaderFactory.java:53)	at org.springframework.ide.eclipse.core.java.classreading.CachingJdtMetadataReaderFactory.getMetadataReader(CachingJdtMetadataReaderFactory.java:38)	at org.springframework.context.annotation.ConfigurationClassUtils.checkConfigurationClassCandidate(ConfigurationClassUtils.java:73)	at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:274)	at org.springframework.ide.eclipse.metadata.process.JdtConfigurationClassPostProcessor.postProcess(JdtConfigurationClassPostProcessor.java:87)	at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$4.run(BeansConfig.java:752)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.executePostProcessor(BeansConfig.java:745)	at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.postProcessExternal(BeansConfig.java:679)	at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:537)	at org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.getBeans(AbstractBeansConfig.java:280)	at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansConfigReloadingProjectContributionEventListener.start(BeansConfigReloadingProjectContributionEventListener.java:110)	at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$1.execute(SpringProjectContributionManager.java:112)	at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$9.run(SpringProjectContributionManager.java:291)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.execute(SpringProjectContributionManager.java:294)	at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.build(SpringProjectContributionManager.java:110)	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358)	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381)	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)