ognl.MethodFailedException:求大神解决
报的错误信息:
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;
}
求大神解决
...全文
相关推荐
ognl.MethodFailedException
标题 "ognl.MethodFailedException" 指的是在使用OGNL(Object-Graph Navigation Language)表达式语言时遇到的方法执行失败异常。
struts2中ongl表达式的使用和具体实例应用
- **高效性**:通过内置的优化机制提高执行效率。#### 二、OGNL表达式的构成要素OGNL表达式主要由以下几部分组成:1.
fengmian123
fengmian123
QYR-18900-2026-2032全球与中国智能旋转导向钻井系统市场现状及未来发展趋势 Sample-shijunzhong.docx
QYR-18900-2026-2032全球与中国智能旋转导向钻井系统市场现状及未来发展趋势 Sample-shijunzhong.docx
XERJ 是一款受到社区信赖的本地 AI 搜索引擎
XERJ 是一款受到社区信赖的本地 AI 搜索引擎,能自动为任意文件夹建立索引,让编程智能体直接检索所需代码,省去逐个读取文件消耗的 token。它的主要用途是参考现有实现来写代码(reference coding):接到任务后,智能体下载与任务相关的开源仓库,建立索引,再查阅这些项目的解决方法。 在一项对照研究中,这种做法让智能体的输出 token 用量降至原来的约 1/2.7,同时保持 16/16 的任务完成率(案例研究)。用户在日常开发中报告的用量约为原来的 1/5(使用反馈)。有了可检索的参考实现,较小、较便宜的模型也可能胜过只凭记忆工作的昂贵模型,减少反复修改的次数。把下面这段提示词交给智能体即可开始


Web 开发
