Error creating bean with name....稀烂的报错,有懂注解的帮忙解决一下

NullPointException_1 2013-09-03 02:37:03
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'windControlRulesServiceDAO': Injection of resource methods failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.days.dto.windcontrolrules.WindControlRulesDTO] is defined: Unsatisfied dependency of type [class

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'windControlRulesServiceDAO': Injection of resource methods failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.days.dto.windcontrolrules.WindControlRulesDTO] is defined: Unsatisfied dependency of type [class com.days.dto.windcontrolrules.WindControlRulesDTO]: expected at least 1 matching bean
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:305)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:998)
...全文
1893 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
浮缈 2013-09-03
  • 打赏
  • 举报
回复
这个很明显是你的spring篇日志的问题好吧。在初始化的时候没有成功。
fw347969680 2013-09-03
  • 打赏
  • 举报
回复
自己的代码也要贴的。。不然你就自己百度吧。以前看到过的。
tony4geek 2013-09-03
  • 打赏
  • 举报
回复
No unique bean of type 参考

81,090

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧