A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
JSP
Author
Error - Can't find bundle
Dilip kumar
Ranch Hand
Joined: Oct 16, 2000
Posts: 360
posted
Dec 05, 2006 14:30:00
0
Hello All,
I'm getting below mentioned error while using resource bundle
java.util.MissingResourceException
: Can't find bundle for base name report, locale en_US
Here is the code
ResourceBundle
rb = ResourceBundle.getBundle("report");
I have report.properties file in the WEB-INF folder in the war file. Is this the incorrect folder to have properties file ?
Really appreciate any suggestions.
Thanks
Santhosh Reddy
Greenhorn
Joined: Sep 25, 2006
Posts: 27
posted
Dec 05, 2006 22:29:00
0
Try keeping the file in classes folder
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Error - Can't find bundle
Similar Threads
Resource Bundle Missing Error in iReport
placing propertie file in .war file
Resourcebundle can not be found!
While Deploy Axis Web Service on WAS5.3 error occurred
Unable to access Property file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter