{"id":181,"date":"2012-06-20T15:48:06","date_gmt":"2012-06-20T19:48:06","guid":{"rendered":"https:\/\/jeremystein.com\/brain\/?p=181"},"modified":"2012-06-20T15:48:06","modified_gmt":"2012-06-20T19:48:06","slug":"class-path-resource-applicationcontext-xml-cannot-be-opened-because-it-does-not-exist","status":"publish","type":"post","link":"https:\/\/jeremystein.com\/brain\/class-path-resource-applicationcontext-xml-cannot-be-opened-because-it-does-not-exist\/","title":{"rendered":"class path resource [applicationContext.xml] cannot be opened because it does not exist"},"content":{"rendered":"<p>I sometimes get this error message from Tomcat running in Eclipse:<\/p>\n<p><code>Exception sending context initialized event to listener instance of class org.acegisecurity.ui.session.HttpSessionEventPublisher<br \/>\norg.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<br \/>\nCaused by:<br \/>\njava.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist<br \/>\n<\/code><\/p>\n<p>The solution is to clean the build directory and rebuild.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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] [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,33],"tags":[],"class_list":["post-181","post","type-post","status-publish","format-standard","hentry","category-eclipse","category-java"],"_links":{"self":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/comments?post=181"}],"version-history":[{"count":0,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/181\/revisions"}],"wp:attachment":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/media?parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/categories?post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/tags?post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}