cwq聖泉寒江2020

关注

Spring级联属性:Bean property ‘XXX‘ is not readable or has an invalid getter method解决办法

cwq聖泉寒江2020

关注

阅读 65

2022-02-04

Spring支持级联属性,赋值后出现以下报错信息:

解决:以实体类的get方法的get后面的单词首字母小写作为级联属性的名字,而不是set方法:

实体类:

 xml文件:

 这样即可正常运行出结果。

相关推荐

海滨公园

Bean property 'xxDao' is not writable or has an invalid setter method

海滨公园 66 0 0

乐百川

Property 'uri' has no getter method in class

乐百川 44 0 0

玉字璧

MyBatis There is no getter for property named ‘xxx‘ in ‘class xxx‘问题解决

玉字璧 91 0 0

程序员知识圈

A component required a bean of type ‘XXX‘ that could not be found 解决办法

程序员知识圈 129 0 0

鲤鱼打个滚

错误Invalid bound statement(not found):xxx问题解决办法

鲤鱼打个滚 106 0 0

肉肉七七

BlackBerry 出现 Module xxx' has verification error 问题解决办法

肉肉七七 38 0 0

言午栩

the installer has encountered 2503解决办法

言午栩 71 0 0

琛彤麻麻

Invalid bound statement (not found) 终极解决办法

琛彤麻麻 184 0 0

云上笔记

“Invalid pointer operation"异常的解决办法

云上笔记 30 0 0

卿卿如梦

SyntaxError :invalid syntax错误解决办法

卿卿如梦 191 0 0

精彩评论(0)

0 0 举报