Jeremy Stein - Brain

« »

class path resource [applicationContext.xml] cannot be opened because it does not exist

I sometimes get this error message from Tomcat running in Eclipse:

Exception sending context initialized event to listener instance of class org.acegisecurity.ui.session.HttpSessionEventPublisher
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist
Caused by:
java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist

The solution is to clean the build directory and rebuild.

June 20, 2012 No Comments.

No Comments

Be the first to comment!

Leave a Reply

Your email address will not be published. Required fields are marked *

Why ask?

« »