spring+hibernate 错误求解

LeBron_Raymone_James 2016-05-12 05:04:19
信息: Initializing Spring FrameworkServlet 'JeeCmsAdmin'
17:14:32.988 ERROR org.springframework.web.servlet.DispatcherServlet - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0' defined in ServletContext resource [/WEB-INF/config/jeecms-servlet-admin.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cmsSiteConfigAct': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jeecms.core.tpl.TplManager com.jeecms.cms.action.admin.main.CmsSiteConfigAct.tplManager; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tplManager': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529) ~[spring-beans-3.2.6.jar:3.2.6.RELEASE]
...全文
48 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
孟子E章 2016-05-14
  • 打赏
  • 举报
回复
错误提示的是自动注入失败,无效的参数,检查下代码是否正确

5,658

社区成员

发帖
与我相关
我的任务
社区描述
Web开发应用服务器相关讨论专区
社区管理员
  • 应用服务器社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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