Error creating bean with name 'billAction': Injection of resource fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'billServiceImp': Injection of resource fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [beans.xml]: Invocation of init method failed; nested exception is org.hibernate.PropertyNotFoundException: Could not find a getter for title in class com.ideabobo.model.Type
2条回答 默认 最新
- qq_34838554 2016-05-07 08:01关注
你在userService这个bean里注入的userDAO没有找到对应的。
检查你的userDAO这个类是否加入了Annotation配置,注入的名称是否匹配。解决 无用评论 打赏 举报