I have exactly the same error message in Struts 2.1.6. If I submit a proper integer value from the form there is no exception, but if I enter for example "123abc" I get ognl.MethodFailedException (NoSuchMethodException). It looks like automatic type conversion is not working properly. Something with ognl or maybe xwork...
Even if I add such a validator for the field: @RegexFieldValidator(expression = "^[0-9]+$", message = "error") it does not affect the way my app works because it cannot find the proper method (setter). I've already tried changing versions of xwork and ognl jars but it makes no difference... please help me :,( -- View this message in context: http://www.nabble.com/-struts2.1.6--Type-conversion-error.-tp22175393p22678294.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org