`

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

阅读更多

Bean property ' ' is not writable or has an invalid setter method. 
Does the parameter type of the setter match the return type of the getter?

 原因是我的service实现中没有注入dao

注入即可:

 

private ShopRewardRecordDao shopRewardRecordDao;
	
public void setShopRewardRecordDao(ShopRewardRecordDao shopRewardRecordDao) {
	this.shopRewardRecordDao = shopRewardRecordDao;
}
 
分享到:
评论

相关推荐

    dubbo-admin 管理后台2.5.4 for JDK8

    Invalid property 'URIType' of bean class [com.alibaba.citrus.service.uribroker.uri.GenericURIBroker]: Bean property 'URIType' is not writable or has an invalid setter method. Does the parameter type ...

    支持jdk8版本dubbo-admin

    property 'URIType' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? 这个问题我也在网上找了很久也没有好的解决方案,最后还是...

    org.springframework.web.servlet-3.0.1.RELEASE-A.jar

    Invalid property 'error_view' of bean class [com.demo.controller.action.AuthorAction]: Bean property 'error_view' is not writable or has an invalid setter method. Does the parameter type of the ...

    Dubbo管理控制台dubbo admin2.X for jdk8 (window,liunx)

    [com.alibaba.citrus.service.uribroker.uri.GenericURIBroker]: Bean property 'URIType' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of ...

    proxool jar包

    Invalid property 'houseKeepingSleepTime' of bean class [org.logicalcobwebs.proxool.ProxoolDataSource]: Bean property 'houseKeepingSleepTime' is not writable or has an invalid setter method. Does the ...

    dubbo-admin-2.5.8.war(编译环境JDK8)

    dubbo-admin管理控制台安装... Invalid property 'URIType' of bean class [com.alibaba.citrus.service.uribroker.uri.GenericURIBroker]: Bean property 'URIType' is not writable or has an invalid setter method.

    dubbo-admin jdk1.8

    dubbo-admin 在jdk1.8 环境下会出现Bean property 'URIType' is not writable or has an invalid setter,此版本通过替换citris,spring的低版本解决了这个问题

    org.springframework.transaction-3.1.2.RELEASE.zip

    org.springframework.beans....: Bean property 'transactionManagerBeanName' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

    dubbo_admin-2.54.war和dubbo_admin_2.54forJDK8

    property 'URIType' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? 把其中的spring2的系列JAR包换成了spring3的,就可以在JDK8...

    精通pl/sql part2

    精通pl/sql part2

    Storage Not Writable(解决方案).md

    Storage Not Writable(解决方案).md

    Directory Not Writable(解决方案).md

    Directory Not Writable(解决方案).md

    Backup Directory Not Writable(解决方案).md

    Backup Directory Not Writable(解决方案).md

    Cache Directory Not Writable(解决方案).md

    Cache Directory Not Writable(解决方案).md

    浅析is_writable的php实现

    在某些情况下,内置的is_writable()函数可能无法正确地判断文件或目录的可写状态,比如在检查远程文件系统或某些特殊权限设置的情况下。这时,我们就可能需要自定义一个函数来模拟is_writable()的功能。 在给定的...

    解决内存不能为read,write

    下面我们将深入探讨这个问题的原因、诊断步骤以及解决方案。 **原因分析:** 1. **软件冲突**:多个程序同时运行,特别是那些占用大量内存资源的程序,可能导致内存冲突。 2. **病毒或恶意软件**:某些病毒或恶意...

    php is_writable判断文件是否可写实例代码

    如果出于某种原因不想使用内置的`is_writable()`函数,可以编写自定义函数来替代。下面的代码提供了一个自定义的`isWritable()`函数,它尝试打开文件进行读写操作来判断文件的可写性: ```php function isWritable...

Global site tag (gtag.js) - Google Analytics