Hi Dennis, I've run into this before: if you put the stripes jar into a shared lib dir in tomcat (or the common one, though that's a bad idea), it will not find the StripesResources.properties in your war.
The workaround is to bundle the the stripes jar with your individual app wars, I don't know if there's a real fix yet. Cheers, Dmitri On Wed, Jan 13, 2010 at 9:51 AM, Dennis Thrysøe <[email protected]> wrote: > Hi, > > I suddenly have a problem in an application that I have been working on for > quite a while. Don't know what I could have done to provoke this. > > java.util.MissingResourceException: Could not find the form field resource > bundle needed by Stripes. This almost certainly means that a properties file > called 'StripesResources.properties' could not be found in the classpath. > This properties file is needed to lookup form field names. Please ensure the > file exists in WEB-INF/classes or elsewhere in your classpath. > > The file is right there in WEB-INF/classes. > > And the following code produces a perfectly fine properties-based > ResourceBundle instance: > > ResourceBundle.getBundle("StripesResources") > > Any ideas? > > Thanks, > > -dennis > > -- > Geysir IT > [email protected] > http://geysirit.dk > +45 31 51 60 00 > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users > ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
