Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.io.FileNotFoundException: class path resource

807580Dec 16 2009 — edited Dec 17 2009
I have created a spring project and put my application context on the classpath of the jar file that I then use in a web project. (META-INF\context\applicationcontext.xml)
I deploy the EAR file to a server and I get the following error:
java.io.FileNotFoundException: class path resource [META-INF/context/JNDIConfigLookupBean.xml] cannot be opened because it does not exist

I know the file is there and it works fine in my eclipse workspace, but once it is deployed it can't find the file.

Does anyone have any thoughts they could impart on me?

I appreciate any help anyone can give.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 14 2010
Added on Dec 16 2009
4 comments
3,062 views