struts2+spring+hibernate的问题
高手些帮我看看因为关联了另外一个表现在插入的时候就出问题了[com.opensymphony.xwork2.util.logging.commons.CommonsLog...
高手些帮我看看因为关联了另外一个表现在插入的时候就出问题了[com.opensymphony.xwork2.util.logging.commons.CommonsLogger.warn(CommonsLogger.java:49)] WARN Error setting expression 'TEmployee' with value '[Ljava.lang.String;@18a80d4'
ognl.MethodFailedException: Method "setTEmployee" failed for object controler.SalaryAction.AddSalary@99d56b [java.lang.NoSuchMethodException: controler.SalaryAction.AddSalary.setTEmployee([Ljava.lang.String;)]
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1265)
at ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:1454)
at ognl.ObjectPropertyAccessor.setPossibleProperty 展开
ognl.MethodFailedException: Method "setTEmployee" failed for object controler.SalaryAction.AddSalary@99d56b [java.lang.NoSuchMethodException: controler.SalaryAction.AddSalary.setTEmployee([Ljava.lang.String;)]
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1265)
at ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:1454)
at ognl.ObjectPropertyAccessor.setPossibleProperty 展开
2013-07-22
展开全部
你在使用ONGL表达式取得或设置TEmployee对象时出错了。有用到该类的POJO类的Getter and Setter方法有问题。【setTEmployee" failed for object 】这里是set出错了
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询