bean无法创建

来源:1-5 封装数据服务层(二)

斯蒂芬_Go

2015-04-04 10:23

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'noificationService' defined in class path resource [spring-config.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'noificationDao' of bean class [org.androidpn.server.service.impl.NotificationServiceImpl]: Bean property 'noificationDao' is not writable or has an invalid setter method. Did you mean 'notificationDao'?

写回答 关注

1回答

  • qq_零度的浪漫_0
    2016-02-19 11:41:09

    检查notificationDao是否生成get/set方法 并且在spring-config.xml里配置了此bean

Android-见证消息推送时刻进阶篇

本课程讲重点讲解客户端往服务器推送的案例,Come on

25643 学习 · 35 问题

查看课程

相似问题