报的错误信息:
ognl.MethodFailedException: Method "setImgs" failed for object com.slspmall.action.GoodAction@608f91 [java.lang.NoSuchMethodException: com.slspmall.action.GoodAction$$EnhancerByCGLIB$$5c208e88.setImgs([Ljava.lang.String;)]页面
<input type="hidden" name="oldFileName" value="${good.thumbnail}">
Action中
public File getImgs() {
return imgs;
} public void setImgs(File imgs) {
this.imgs = imgs;
}
求大神解决
ognl.MethodFailedException: Method "setImgs" failed for object com.slspmall.action.GoodAction@608f91 [java.lang.NoSuchMethodException: com.slspmall.action.GoodAction$$EnhancerByCGLIB$$5c208e88.setImgs([Ljava.lang.String;)]页面
<input type="hidden" name="oldFileName" value="${good.thumbnail}">
Action中
public File getImgs() {
return imgs;
} public void setImgs(File imgs) {
this.imgs = imgs;
}
求大神解决
而报错是因为想要一个参数是String类型的setImgs方法
。都不是那些的错误,表单忘加这句代码了。