先贴上错误

2018-8-16 23:41:10 org.springframework.context.support.ClassPathXmlApplicationContext prepareRefresh
信息: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@5492bbba: startup date [Thu Aug 16 23:41:10 CST 2018]; root of context hierarchy
2018-8-16 23:41:10 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [config/application-service.xml]
2018-8-16 23:41:10 org.springframework.context.support.ClassPathXmlApplicationContext refresh
警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UserServiceImpl' defined in class path resource [config/application-service.xml]: Cannot resolve reference to bean 'UserDaoImpl' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'UserDaoImpl' is defined

我的是配置文件的路径错误了,

这是我的配置文件,application-service.xml中引入所有配置,

所以测试的路径应该是

最新文章

  1. SVN:Previous operation has not finished; run 'cleanup' if it was interrupted
  2. MVC4 项目迁移 服务器被配置为不列出此目录的内容
  3. 夺命雷公狗-----React---22--小案例之react经典案例todos(完成数据的遍历)
  4. golang实现冒泡排序
  5. Python 遍历文件,字符串操作
  6. 使用rman迁移数据库到异机
  7. surface实例-小球弹起事例
  8. Textarea高度随内容自适应地增长,无滚动条
  9. poj 1330 Nearest Common Ancestors 裸的LCA
  10. MFC通过ADO操作Access数据库
  11. C陷阱与缺陷代码分析之第1章词法陷阱
  12. poi入门之读写excel
  13. GoldenGate 传统抽取进程随 DataGuard 主备快速切换的方案(ADG 模式)
  14. Ansible@一个高效的配置管理工具--Ansible configure management--翻译(一)
  15. Android多点触摸缩放图片-android学习之旅(四)
  16. HashMap底层
  17. 没有与这些操作数匹配的 "<<" 运算符 操作数类型为: std::ostream << std::string
  18. 运维rpm语法
  19. CSS----布局不理解
  20. phpstrom破解

热门文章

  1. Part2-HttpClient官方教程-Chapter2-连接管理
  2. Java回收方法区中回收的类
  3. C后端设计开发 - 第1章-流派-入我华山,学我剑法
  4. MACBOOK 总是断网怎么办
  5. Linux平台用C++实现事件对象,同步线程(转)
  6. JDBC原生数据库连接
  7. DOM编程艺术读书笔记 (须熟读)
  8. python2下向文件写入unicode编码的内容,codecs包
  9. 【JBPM4】判断节点decision 方法3 handler
  10. sql server 完整备份、差异备份、事务日志备份