I am getting a weird classpath issue, maybe someone here can help me figure
out why this is/ how I work around it?
If I put stripes.jar in my specific WEBAPPs WEB-INF/lib dir.. and I put
StripesResources.properties in WEB-INF/classes dir.. everything works.
If I put stripes.jar in my tomcat shared/libs dir - No matter where I put my
StripesResources.properties file... I get the error message:
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.
I have tried putting the .properties file in shared/classes, shared/lib,
common/classes, webapps/project/WEB-INF/classes etc. etc - but no matter
where I put it, I get the error.
Is there some magical reason why tomcat is only happy when I include the jar
inside of the actual webapp? I would prefer to keep the .jar in the
/shared/libs dir, and don't care where StripesResources.properties is. This
must be some kind of Tomcat permission, but I am not entirely sure why it
matters where the lib file is located.
Any suggestions?
Thanks,
Brian
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users