@Result中 many=@Many(select = "selectByPid"报错
,报错信息是Multiple markers at this line - Many cannot be resolved to a type - The value for annotation attribute Result.many must be some @org.apache.ibatis.annotations.Many annotation
10
收起
正在回答
1回答
同学你好。
报错信息为:
- Many cannot be resolved to a type
- The value for annotation attribute Result.many must be some @org.apache.ibatis.annotations.Many annotation
翻译一下可得:
- Many 无法被解析
- 注释“Result.Many”必须是基于 @org.apache.ibatis.annotations.Many的
所以同学可以检查一下自己是否正确引入了Many标签:
如果解答了同学的疑问,望采纳~
祝学习愉快~
3. Java 数据库开发与实战应用
- 参与学习 人
- 提交作业 357 份
- 解答问题 8016 个
本阶段将带你学习MySQL数据库,JDBC接口,MyBatis框架等,带你掌握的数据的存放和管理。
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星