该用户从未签到
|
112#
发表于 2015-04-05 12:57:30
|只看该作者
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
& k& [1 C, z( n3 porg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory/ ^0 U }/ V6 ]2 r
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
. O3 R A% S/ Y. X/ s. T+ i at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
3 D5 u; i* ?, Q# A. W# }' f( O% T at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)5 Y2 m: t2 C. L9 i
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
; K, @, d/ F/ g/ N8 n: P at java.security.AccessController.doPrivileged(Native Method)
7 J/ ]# ~, d3 r1 c6 ? at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)3 j) U& `2 g6 o
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
; |- `( f# ~9 r7 N) l at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)6 S# d# z q! L$ [: ~
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
( C3 k' z6 o; F/ g at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
" G8 [* k5 k2 G2 W: } at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
) S1 q2 N) B& G/ ~ at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
9 S' w1 {; v! l7 y+ Y: U9 k7 |) b at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)6 p) w( W6 J, @
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)& L o$ B( f1 B+ v4 N* l
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)) o4 o) L# T+ m w$ c
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
2 t3 x Y" G! H% P- j8 f" N9 h at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)( S$ ] v; k. \8 I: K" A. y& j
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)/ j3 R" z* c4 C1 T! m! U: r, ]. p
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)' J4 A! o( t; E. E& R P/ ~6 Y
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150); J" I8 `; b' B) v
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
5 W6 Q% p4 b: {! |# J( E at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
! [" l4 A+ W* D, U at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)- F) Q, `- r9 U$ c
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
0 j3 Y9 d# h |* ^ at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)- G) i5 O: I: r
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)/ w; R! W5 ]1 |1 I+ Z
at java.util.concurrent.FutureTask.run(FutureTask.java:262)# {. D5 ?( d: }
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)2 z- \* ~0 i9 o+ l
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
& [7 K+ ]# j* i1 ]/ ] at java.lang.Thread.run(Thread.java:744)" G4 w' W B `" U' D- c0 l
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory6 y& [6 @( I* \5 E3 ?2 P, h
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)8 w* T- s: _( V
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
+ _2 S( n2 n" }2 _9 P2 H at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
! C/ E% p% R( w5 d' F6 D0 u/ ~ ... 29 more
3 y/ A3 q% U2 }9 L. E+ KCaused by: java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory. R* x: f/ E- M: [9 {+ v$ }
at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:60)
5 I3 C3 @. G I' t# t2 r# X at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:151)
o, S" B" f# o, g! \ at java.lang.Class.forName0(Native Method)4 P2 C( r+ w5 f* ^
at java.lang.Class.forName(Class.java:190)" z" D" u( t: p' F: X
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.class$(LocalSessionFactoryBean.java:174)) [3 ~2 r b) Z& V% p) a
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.<init>(LocalSessionFactoryBean.java:174)
3 k. ~ ?, _ t& v2 U" o, |) |& g at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method), e6 r3 t( F7 }6 U( F2 N' N& O% x
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
, @- ?2 N; F6 C, [ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)! A% g& q/ ]2 i8 o& d
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)! A0 X; B6 w u5 N% o
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
9 q8 B+ `- I2 A9 F8 D ... 31 more |
|