多图上传遇到NoSuchMethodError错误怎么办?

内容概览
在进行前端多图上传时,将bean中的对应字段设为list<string> filePath,并设置autoresultmap=true。但在实际操作中遇到了org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: cn.iocoder.yudao.module.community.dal.dataobject.volunteer.VolunteerDO.getFilePath()Ljava/lang/String;错误。如何解决这个问题?
一阵风
2024-10-24 16:51
评论2
请问一下,芋老大,前端多图上传的时候,bean中对应字段设成list<string> filePath,autoresultmap=true 如图所示,还需要设置其他的地方吗? org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: cn.iocoder.yudao.module....

芋道快速开发平台 Boot + Cloud

星球已运营 4 年零 211 天

累计超过  34000+  位成员加入

6小时前

最近更新

40000+

内容数

进入星球主页