为了账号安全,请及时绑定邮箱和手机立即绑定

猿问:在spring的支持过程中创建的bean类型的sessionFactory出错了,求慕友给点答案??

猿问:在spring的支持过程中创建的bean类型的sessionFactory出错了,求慕友给点答案??

疯子520520 2016-09-04 21:41:25
2016-9-4 21:17:43 org.apache.catalina.core.StandardContext listenerStart严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)Caused by: java.lang.ClassNotFoundException: org.hibernate.cache.CacheProvider at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 55 more2016-9-4 21:17:43 org.apache.catalina.core.StandardContext start严重: Error listenerStart2016-9-4 21:17:43 org.apache.catalina.core.StandardContext start严重: Context [/BeiFengCRM] startup failed due to previous errors2016-9-4 21:17:43 org.apache.catalina.core.ApplicationContext log信息: Closing Spring root WebApplicationContextSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.2016-9-4 21:17:43 org.apache.coyote.http11.Http11Protocol start信息: Starting Coyote HTTP/1.1 on http-80802016-9-4 21:17:44 org.apache.jk.common.ChannelSocket init信息: JK: ajp13 listening on /0.0.0.0:80092016-9-4 21:17:44 org.apache.jk.server.JkMain start信息: Jk running ID=0 time=0/14  config=null2016-9-4 21:17:44 org.apache.catalina.startup.Catalina start信息: Server startup in 1701 ms
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 1849 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信