SSH框架中报错org.springframework.beans.factory.BeanCreationException或者NotWritablePropertyException
来源:互联网 发布:知无涯者怎么解释 编辑:程序博客网 时间:2024/06/02 02:01
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userKissflyService' defined in class path resource [applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'userKissflyDAO' of bean class [com.guigu.store.service.UserKissflyService]: Bean property 'userKissflyDAO' 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了,所以快检查写Service中有没有提供DAO的set/get方法。
0 0
- SSH框架中报错org.springframework.beans.factory.BeanCreationException或者NotWritablePropertyException
- Spring 框架:org.springframework.beans.factory.BeanCreationException/NotWritablePropertyException
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException:
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException
- 一、REST架构风格:
- IOS-调用系统资源
- 代码重定位
- Markdown之MON
- Codeforces Beta Round #82 (Div. 2) 动态规划
- SSH框架中报错org.springframework.beans.factory.BeanCreationException或者NotWritablePropertyException
- MongoDB学习笔记(一) MongoDB介绍及安装
- 密码安全
- 树莓派“先设置IP后开机”
- python系列之 - 函数
- html中class和id的区别
- 时间复杂度计算
- Android之Animation-list实现逐帧动画
- docker官方手册