Caused by: org.hibernate.PropertyNotFoundException: Could not find a setter for property partnerCode

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zhanghaisong_2015/article/details/85680932

报错:Caused by: org.hibernate.PropertyNotFoundException: Could not find a setter for property partnerCode

解决方法:

因为之前修改过实体类的字段名,而之前生成的set get方法的名字是根据之前的  变量名生成的set get方法!修改字段后 set get方法 没有 及时修改,导致的错误!

猜你喜欢

转载自blog.csdn.net/zhanghaisong_2015/article/details/85680932