When I am Doing Form validations In Struts I am Getting Exception:
org.apache.commons.validator.ValidatorException:そのような検証メソッドはありません:
org.apache.struts.validator.FieldChecks.validateRequired
(java.lang.Object、org.apache.commons.validator.ValidatorAction、
org.apache.commons.validator .Field、org.apache.struts.action.ActionErrors、javax.servlet.http.HttpServletRequest)(org.apache.commons.validator.ValidatorAction.loadValidationMethod)
(ValidatorAction.java:604)at org.apache.commons.validator.ValidatorAction.executeValidationMethod(ValidatorAction.java:532)at org.apache.commons.validator.Field.validateForRule(Field.java:796)atorg.apache。 commons.validator.Field.validate(Field.java:876)at org.apache.commons.validator.Form.validate(Form.java:288)at org.apache.commons.validator.Validator.validate(Validator.java: 351)org.apache.struts.validator.ValidatorForm.validate(ValidatorForm.java:110)at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:927)at org.apache.struts.action.RequestProcessor .process(RequestProcessor.java:204)at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)javax.servlet.http.HttpServlet.service(HttpServlet.java:647)at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain .java:305)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)atorg.apache.catalina。 org.apache.catalina.authenticator.AuthenticatorBase.invokeのcore.StandardContextValve.invoke(StandardContextValve.java:123)internalDoFilter(ApplicationFilterChain.java:305)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)at org.apache org.apache.catalina.authenticator.AuthenticatorBase.invokeの.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)internalDoFilter(ApplicationFilterChain.java:305)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)at org.apache org.apache.catalina.authenticator.AuthenticatorBase.invokeの.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
(AuthenticatorBase.java:472)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)atorg.apache。 catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 407)org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)at org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process
(AbstractProtocol.java:589)at org.apache.tomcat.util.net.JIoEndpoint $ SocketProcessor.run(JIoEndpoint.java:310)at java.util.concurrent.ThreadPoolExecutor $ Worker.runTask(Unknown Source)at java.util .concurrent.ThreadPoolExecutor $ Worker.run(Unknown Source)at java.lang.Thread.run(Unknown Source)