I built a very simple test as you suggested. Just one action bean and I
copied it to the classes directory so it wasn't in a jar. It found the bean
but could not resolve the StripesResources.properties file for field labels
or to give me the validation error.
Below is the log that I get out from Stripes. Also attached is the
ActionBean and the form although these are reall simple.
INFO Thread-1 net.sourceforge.stripes.util.ResolverUtil - Scanning for
classes in [/C:/Program Files/Apache Software Foundation/Tomcat
6.0/webapps/etrs/WEB-INF/classes/com/allysystems/etrs/ui/] matching
criteria: is assignable to ActionBean
INFO Thread-1 net.sourceforge.stripes.util.ResolverUtil - Scanning for
classes in [/C:/Program Files/Apache Software Foundation/Tomcat
6.0/webapps/etrs/WEB-INF/classes/com/allysystems/etrs/ui/] matching
criteria: is assignable to ActionBean
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring
path /Test.action to com.allysystems.etrs.ui.enduser.action.TestActionBean @
/Test.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring
path /Test.action to com.allysystems.etrs.ui.enduser.action.TestActionBean @
/Test.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring
path /Test.action/ to com.allysystems.etrs.ui.enduser.action.TestActionBean
@ /Test.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring
path /Test.action/ to com.allysystems.etrs.ui.enduser.action.TestActionBean
@ /Test.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring
prefix /Test.action/* to
com.allysystems.etrs.ui.enduser.action.TestActionBean @ /Test.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring
prefix /Test.action/* to
com.allysystems.etrs.ui.enduser.action.TestActionBean @ /Test.action
DEBUG Thread-1
net.sourceforge.stripes.controller.AnnotatedClassActionResolver - Bound:
TestActionBean.test() ==> /Test.action?test
DEBUG Thread-1
net.sourceforge.stripes.controller.AnnotatedClassActionResolver - Bound:
TestActionBean.test() ==> /Test.action?test
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring
path /controller/DefaultView.action to
net.sourceforge.stripes.controller.DefaultViewActionBean @
/controller/DefaultView.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring
path /controller/DefaultView.action to
net.sourceforge.stripes.controller.DefaultViewActionBean @
/controller/DefaultView.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring
path /controller/DefaultView.action/ to
net.sourceforge.stripes.controller.DefaultViewActionBean @
/controller/DefaultView.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring
path /controller/DefaultView.action/ to
net.sourceforge.stripes.controller.DefaultViewActionBean @
/controller/DefaultView.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring
prefix /controller/DefaultView.action/* to
net.sourceforge.stripes.controller.DefaultViewActionBean @
/controller/DefaultView.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring
prefix /controller/DefaultView.action/* to
net.sourceforge.stripes.controller.DefaultViewActionBean @
/controller/DefaultView.action
DEBUG Thread-1
net.sourceforge.stripes.controller.AnnotatedClassActionResolver - Bound:
DefaultViewActionBean.view() ==> /controller/DefaultView.action?view
DEBUG Thread-1
net.sourceforge.stripes.controller.AnnotatedClassActionResolver - Bound:
DefaultViewActionBean.view() ==> /controller/DefaultView.action?view
INFO Thread-1 net.sourceforge.stripes.localization.DefaultLocalePicker - No
locale list specified, defaulting to single locale: en_GB
INFO Thread-1 net.sourceforge.stripes.localization.DefaultLocalePicker - No
locale list specified, defaulting to single locale: en_GB
DEBUG Thread-1 net.sourceforge.stripes.format.DefaultFormatterFactory -
Clearing formatter cache
DEBUG Thread-1 net.sourceforge.stripes.format.DefaultFormatterFactory -
Clearing formatter cache
DEBUG Thread-1 net.sourceforge.stripes.format.DefaultFormatterFactory -
Clearing formatter cache
DEBUG Thread-1 net.sourceforge.stripes.format.DefaultFormatterFactory -
Clearing formatter cache
DEBUG Thread-1 net.sourceforge.stripes.format.DefaultFormatterFactory -
Clearing formatter cache
DEBUG Thread-1 net.sourceforge.stripes.format.DefaultFormatterFactory -
Clearing formatter cache
INFO Thread-1 net.sourceforge.stripes.config.BootstrapPropertyResolver -
Class implementing/extending PopulationStrategy found in web.xml:
net.sourceforge.stripes.tag.BeanFirstPopulationStrategy
INFO Thread-1 net.sourceforge.stripes.config.BootstrapPropertyResolver -
Class implementing/extending PopulationStrategy found in web.xml:
net.sourceforge.stripes.tag.BeanFirstPopulationStrategy
DEBUG Thread-1
net.sourceforge.stripes.controller.multipart.DefaultMultipartWrapperFactory
- DefaultMultipartWrapperFactory not using
net.sourceforge.stripes.controller.multipart.CommonsMultipartWrapper because
it failed to load. This likely means the supporting file upload library is
not present on the classpath.
DEBUG Thread-1
net.sourceforge.stripes.controller.multipart.DefaultMultipartWrapperFactory
- DefaultMultipartWrapperFactory not using
net.sourceforge.stripes.controller.multipart.CommonsMultipartWrapper because
it failed to load. This likely means the supporting file upload library is
not present on the classpath.
INFO Thread-1
net.sourceforge.stripes.controller.multipart.DefaultMultipartWrapperFactory
- Using net.sourceforge.stripes.controller.multipart.CosMultipartWrapper as
MultipartWrapper implementation.
INFO Thread-1
net.sourceforge.stripes.controller.multipart.DefaultMultipartWrapperFactory
- Using net.sourceforge.stripes.controller.multipart.CosMultipartWrapper as
MultipartWrapper implementation.
DEBUG Thread-1 net.sourceforge.stripes.config.DefaultConfiguration -
Configuring interceptor 'BeforeAfterMethodInterceptor', for lifecycle
stages: [RequestInit, ActionBeanResolution, HandlerResolution,
BindingAndValidation, CustomValidation, EventHandling, ResolutionExecution,
RequestComplete]
DEBUG Thread-1 net.sourceforge.stripes.config.DefaultConfiguration -
Configuring interceptor 'BeforeAfterMethodInterceptor', for lifecycle
stages: [RequestInit, ActionBeanResolution, HandlerResolution,
BindingAndValidation, CustomValidation, EventHandling, ResolutionExecution,
RequestComplete]
DEBUG Thread-1 net.sourceforge.stripes.config.DefaultConfiguration -
Configuring interceptor 'HttpCacheInterceptor', for lifecycle stages:
[ResolutionExecution]
DEBUG Thread-1 net.sourceforge.stripes.config.DefaultConfiguration -
Configuring interceptor 'HttpCacheInterceptor', for lifecycle stages:
[ResolutionExecution]
INFO Thread-1 net.sourceforge.stripes.controller.StripesFilter - Stripes
Initialization Complete. Version: 1.5.1, Build: 1102
INFO Thread-1 net.sourceforge.stripes.controller.StripesFilter - Stripes
Initialization Complete. Version: 1.5.1, Build: 1102
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1
net.sourceforge.stripes.validation.DefaultValidationMetadataProvider -
Loaded validations for ActionBean TestActionBean:
minTen->ValidationMetadata{, minvalue=10.0}
DEBUG http-8100-1
net.sourceforge.stripes.validation.DefaultValidationMetadataProvider -
Loaded validations for ActionBean TestActionBean:
minTen->ValidationMetadata{, minvalue=10.0}
ERROR http-8100-1 net.sourceforge.stripes.localization.LocalizationUtility -
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.
at java.util.ResourceBundle.throwMissingResourceException(Unknown
Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at
net.sourceforge.stripes.localization.DefaultLocalizationBundleFactory.getFormFieldBundle(DefaultLocalizationBundleFactory.java:113)
at
net.sourceforge.stripes.localization.LocalizationUtility.getLocalizedFieldName(LocalizationUtility.java:66)
at
net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:269)
at
net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:238)
at
net.sourceforge.stripes.tag.InputButtonSupportTag.doEndInputTag(InputButtonSupportTag.java:75)
at
net.sourceforge.stripes.tag.InputTagSupport.doEndTag(InputTagSupport.java:442)
at
org.apache.jsp.test_jsp._jspx_meth_s_005fsubmit_005f0(test_jsp.java:398)
at
org.apache.jsp.test_jsp._jspx_meth_s_005fform_005f0(test_jsp.java:329)
at
org.apache.jsp.test_jsp._jspx_meth_s_005flayout_002dcomponent_005f2(test_jsp.java:280)
at
org.apache.jsp.test_jsp._jspx_meth_s_005flayout_002drender_005f0(test_jsp.java:161)
at org.apache.jsp.test_jsp._jspService(test_jsp.java:87)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Unknown Source)
ERROR http-8100-1 net.sourceforge.stripes.localization.LocalizationUtility -
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.
at java.util.ResourceBundle.throwMissingResourceException(Unknown
Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at
net.sourceforge.stripes.localization.DefaultLocalizationBundleFactory.getFormFieldBundle(DefaultLocalizationBundleFactory.java:113)
at
net.sourceforge.stripes.localization.LocalizationUtility.getLocalizedFieldName(LocalizationUtility.java:66)
at
net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:269)
at
net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:238)
at
net.sourceforge.stripes.tag.InputButtonSupportTag.doEndInputTag(InputButtonSupportTag.java:75)
at
net.sourceforge.stripes.tag.InputTagSupport.doEndTag(InputTagSupport.java:442)
at
org.apache.jsp.test_jsp._jspx_meth_s_005fsubmit_005f0(test_jsp.java:398)
at
org.apache.jsp.test_jsp._jspx_meth_s_005fform_005f0(test_jsp.java:329)
at
org.apache.jsp.test_jsp._jspx_meth_s_005flayout_002dcomponent_005f2(test_jsp.java:280)
at
org.apache.jsp.test_jsp._jspx_meth_s_005flayout_002drender_005f0(test_jsp.java:161)
at org.apache.jsp.test_jsp._jspService(test_jsp.java:87)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Unknown Source)
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.StripesFilter -
LocalePicker selected locale: en_GB
DEBUG http-8100-1 net.sourceforge.stripes.controller.StripesFilter -
LocalePicker selected locale: en_GB
DEBUG http-8100-1 net.sourceforge.stripes.controller.StripesFilter -
LocalePicker did not pick a character encoding, using default: null
DEBUG http-8100-1 net.sourceforge.stripes.controller.StripesFilter -
LocalePicker did not pick a character encoding, using default: null
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
INFO http-8100-1
net.sourceforge.stripes.validation.expression.ExpressionValidator -
Expression validation will be performed using:
net.sourceforge.stripes.validation.expression.Jsp21ExpressionExecutor
INFO http-8100-1
net.sourceforge.stripes.validation.expression.ExpressionValidator -
Expression validation will be performed using:
net.sourceforge.stripes.validation.expression.Jsp21ExpressionExecutor
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext -
Transitioning to lifecycle stage RequestInit
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext -
Transitioning to lifecycle stage RequestInit
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext -
Transitioning to lifecycle stage ActionBeanResolution
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext -
Transitioning to lifecycle stage ActionBeanResolution
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext -
Transitioning to lifecycle stage HandlerResolution
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext -
Transitioning to lifecycle stage HandlerResolution
DEBUG http-8100-1 net.sourceforge.stripes.controller.DispatcherHelper -
Resolved event: test; will invoke: TestActionBean.test()
DEBUG http-8100-1 net.sourceforge.stripes.controller.DispatcherHelper -
Resolved event: test; will invoke: TestActionBean.test()
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext -
Transitioning to lifecycle stage BindingAndValidation
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext -
Transitioning to lifecycle stage BindingAndValidation
DEBUG http-8100-1
net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder - Running
required field validation on bean class
com.allysystems.etrs.ui.enduser.action.TestActionBean
DEBUG http-8100-1
net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder - Running
required field validation on bean class
com.allysystems.etrs.ui.enduser.action.TestActionBean
DEBUG http-8100-1 net.sourceforge.stripes.controller.BindingPolicyManager -
Creating net.sourceforge.stripes.controller.BindingPolicyManager for class
com.allysystems.etrs.ui.enduser.action.TestActionBean with default policy
null
DEBUG http-8100-1 net.sourceforge.stripes.controller.BindingPolicyManager -
Creating net.sourceforge.stripes.controller.BindingPolicyManager for class
com.allysystems.etrs.ui.enduser.action.TestActionBean with default policy
null
DEBUG http-8100-1 net.sourceforge.stripes.controller.BindingPolicyManager -
Translated globs [] to regex
DEBUG http-8100-1 net.sourceforge.stripes.controller.BindingPolicyManager -
Translated globs [] to regex
DEBUG http-8100-1 net.sourceforge.stripes.controller.BindingPolicyManager -
Translated globs [] to regex
DEBUG http-8100-1 net.sourceforge.stripes.controller.BindingPolicyManager -
Translated globs [] to regex
DEBUG http-8100-1 net.sourceforge.stripes.controller.BindingPolicyManager -
Translated globs [minTen] to regex minTen
DEBUG http-8100-1 net.sourceforge.stripes.controller.BindingPolicyManager -
Translated globs [minTen] to regex minTen
DEBUG http-8100-1
net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder -
Converting 1 value(s) using converter
net.sourceforge.stripes.validation.IntegerTypeConverter
DEBUG http-8100-1
net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder -
Converting 1 value(s) using converter
net.sourceforge.stripes.validation.IntegerTypeConverter
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext -
Transitioning to lifecycle stage CustomValidation
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext -
Transitioning to lifecycle stage CustomValidation
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext -
Transitioning to lifecycle stage ResolutionExecution
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext -
Transitioning to lifecycle stage ResolutionExecution
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - No
URL binding matches /test.jsp
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - No
URL binding matches /test.jsp
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - No
URL binding matches /test.jsp
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - No
URL binding matches /test.jsp
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.format.DefaultFormatterFactory -
Caching Formatter for class java.lang.String => class
net.sourceforge.stripes.format.ObjectFormatter
DEBUG http-8100-1 net.sourceforge.stripes.format.DefaultFormatterFactory -
Caching Formatter for class java.lang.String => class
net.sourceforge.stripes.format.ObjectFormatter
ERROR http-8100-1 net.sourceforge.stripes.localization.LocalizationUtility -
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.
at java.util.ResourceBundle.throwMissingResourceException(Unknown
Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at
net.sourceforge.stripes.localization.DefaultLocalizationBundleFactory.getFormFieldBundle(DefaultLocalizationBundleFactory.java:113)
at
net.sourceforge.stripes.localization.LocalizationUtility.getLocalizedFieldName(LocalizationUtility.java:66)
at
net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:269)
at
net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:238)
at
net.sourceforge.stripes.tag.InputButtonSupportTag.doEndInputTag(InputButtonSupportTag.java:75)
at
net.sourceforge.stripes.tag.InputTagSupport.doEndTag(InputTagSupport.java:442)
at
org.apache.jsp.test_jsp._jspx_meth_s_005fsubmit_005f0(test_jsp.java:398)
at
org.apache.jsp.test_jsp._jspx_meth_s_005fform_005f0(test_jsp.java:329)
at
org.apache.jsp.test_jsp._jspx_meth_s_005flayout_002dcomponent_005f2(test_jsp.java:280)
at
org.apache.jsp.test_jsp._jspx_meth_s_005flayout_002drender_005f0(test_jsp.java:161)
at org.apache.jsp.test_jsp._jspService(test_jsp.java:87)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at
net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:110)
at
net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:483)
at
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
at
net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
at
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
at
net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
at
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
at
net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
at
net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:477)
at
net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
at
net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Unknown Source)
ERROR http-8100-1 net.sourceforge.stripes.localization.LocalizationUtility -
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.
at java.util.ResourceBundle.throwMissingResourceException(Unknown
Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at
net.sourceforge.stripes.localization.DefaultLocalizationBundleFactory.getFormFieldBundle(DefaultLocalizationBundleFactory.java:113)
at
net.sourceforge.stripes.localization.LocalizationUtility.getLocalizedFieldName(LocalizationUtility.java:66)
at
net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:269)
at
net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:238)
at
net.sourceforge.stripes.tag.InputButtonSupportTag.doEndInputTag(InputButtonSupportTag.java:75)
at
net.sourceforge.stripes.tag.InputTagSupport.doEndTag(InputTagSupport.java:442)
at
org.apache.jsp.test_jsp._jspx_meth_s_005fsubmit_005f0(test_jsp.java:398)
at
org.apache.jsp.test_jsp._jspx_meth_s_005fform_005f0(test_jsp.java:329)
at
org.apache.jsp.test_jsp._jspx_meth_s_005flayout_002dcomponent_005f2(test_jsp.java:280)
at
org.apache.jsp.test_jsp._jspx_meth_s_005flayout_002drender_005f0(test_jsp.java:161)
at org.apache.jsp.test_jsp._jspService(test_jsp.java:87)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at
net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:110)
at
net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:483)
at
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
at
net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
at
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
at
net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
at
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
at
net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
at
net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:477)
at
net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
at
net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Unknown Source)
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory -
Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext -
Transitioning to lifecycle stage RequestComplete
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext -
Transitioning to lifecycle stage RequestComplete
http://www.nabble.com/file/p26076827/TestActionBean.java TestActionBean.java
http://www.nabble.com/file/p26076827/test.jsp test.jsp
--
View this message in context:
http://www.nabble.com/Can-not-get-Stripes-to-read-properties-files-tp26074042p26076827.html
Sent from the stripes-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users