猿问:在spring的支持过程中创建的bean类型的sessionFactory出错了,求慕友
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.ContextLoaderListener
org.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 more
2016-9-4 21:17:43 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2016-9-4 21:17:43 org.apache.catalina.core.StandardContext start
严重: Context [/BeiFengCRM] startup failed due to previous errors
2016-9-4 21:17:43 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: 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-8080
2016-9-4 21:17:44 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2016-9-4 21:17:44 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/14 config=null
2016-9-4 21:17:44 org.apache.catalina.startup.Catalina start
信息: Server startup in 1701 ms |
免责声明:本内容仅代表回答会员见解不代表天盟观点,请谨慎对待。
版权声明:作者保留权利,不代表天盟立场。
|
|
|
|