You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Manveen Kaur <ma...@sun.com> on 2003/01/17 21:13:48 UTC
MissingResourceException on ResourceBundle.getBundle(.)
Hi,
I have a web-app that looks up a properties file.
I'm getting a java.util.MissingResourceException on
ResourceBundle.getBundle(..);
The jar containg the properties file is in WEB-INF/lib.
Is this a classpath issue? Is there a workaround?
Any help would be greatly appreciated.
thanks
Manveen
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: MissingResourceException on ResourceBundle.getBundle(.)
Posted by Bill Barker <wb...@wilshire.com>.
You haven't specified enough information (and you should really know better
:). The three argument getBundle should work fine (i.e.
ResourceBundle.getBundle(..., Local.US,
Thread.currentThread().getContextClassLoader())).
If that doesn't work, I'd suggest patching the code until it does :).
"Manveen Kaur" <ma...@sun.com> wrote in message
news:3E2863FC.8090005@sun.com...
> Hi,
>
> I have a web-app that looks up a properties file.
>
> I'm getting a java.util.MissingResourceException on
> ResourceBundle.getBundle(..);
> The jar containg the properties file is in WEB-INF/lib.
>
> Is this a classpath issue? Is there a workaround?
>
> Any help would be greatly appreciated.
>
> thanks
> Manveen
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>