Skip to Main Content

Java Development Tools

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!

Maven Web App ResourceBundle Not Found

felipeJul 22 2011 — edited Jul 25 2011
Hi
I am a maven newbie, and I have implemented a web project with ADF.
I have developed an Exception handler who need to access a resource file to display messages, where I have the following code:
...
ResourceBundle.getBundle("err-desc.properties");
...
When the app run, shows the following error: Can't find bundle for base name error-desc.properties, locale en

The location of the file into the Web Project: src/main/resources/error-desc.properties

Any suggestions

Thanks!

Felipe

Edited by: Felipe on Jul 22, 2011 9:19 AM

Edited by: Felipe on Jul 22, 2011 9:51 AM

Edited by: Felipe on Jul 22, 2011 11:35 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2011
Added on Jul 22 2011
7 comments
1,505 views