iteye_14091 2011-08-15 19:57
浏览 289
已采纳

hibernate spring 自动注入报错

- Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager': Autowiring of methods failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.javaeye.sample.security.support.SecurityManagerSupport.init(org.hibernate.SessionFactory); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext-dataAccess.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: tableNameBinding

 

 

这个错误大家有没有见过呢?我查了半天,没找到合适的解决方案

  • 写回答

9条回答 默认 最新

  • myali88 2011-08-18 12:10
    关注

    项目代码大吗?发给我:ulinkwo@163.com

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(8条)

报告相同问题?