该用户从未签到
|
112#
发表于 2015-04-05 12:57:30
|只看该作者
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
) o3 g& l9 i) A' W+ C% R( rorg.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/ k+ j7 v& |3 K p# g0 {! H" K% w5 M
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)7 L5 B; S+ v' D1 F. d
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)9 d/ J/ c7 [1 \% ?6 }( ^* B
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) {* G3 u; ~! D6 w; ^( j* [! ^
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409). q. D" \$ X0 X: G9 F! v4 ^1 ^9 W
at java.security.AccessController.doPrivileged(Native Method)
6 x: a( b; h4 t5 f& x4 _ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
1 B% B! y& h6 _( s at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
4 { {: c/ B. [: V- M* B. u) Q5 s at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
; i& g" _% ]! Q1 {/ t; I at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
f: R0 s* M9 t9 i0 W! p6 i at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
/ l# o: k3 r: C- w at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)0 M% {* c( Z& ^6 u- G. |' G
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)( ] s6 s# n6 P) q/ @) e
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
: a1 D8 B1 O( F: ~3 I, v at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
. [( z% |* ?$ u* S3 D6 O& X4 m at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
# |' s! A; c0 b G' R at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
4 _2 N, ?( B% s9 s% n at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)5 p8 q! E7 |1 Z2 P
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)3 Y. X8 x6 @4 h
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
( e9 t8 B2 L- j* e/ k: z at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
T; W3 \5 J% I at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)8 U+ }9 G$ v" W3 f
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
) ^. f- L: {9 [5 a at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
9 o4 B- e' X: q c3 f# M at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
, D+ v: r) C! `; q6 ^ at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
$ D! T9 P- C9 t. e5 |& c at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
: o1 j: H# P% l% V9 L at java.util.concurrent.FutureTask.run(FutureTask.java:262)
4 V% b0 Y! e# _( A4 w at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)7 S, a0 F5 e5 {$ _* D( V8 Q: v2 b
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)$ i6 O! @' p" f2 l* c6 l& J
at java.lang.Thread.run(Thread.java:744)7 u( q- u& o6 ?# Y7 k/ a
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.LoggerFactory
& Q. M `) \$ M6 @! @ at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)' q; P0 E5 z, E/ [) Y; q
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
) z9 \+ J7 E) s2 R3 {/ E at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877). d B* @. P9 i- l. l$ M& x
... 29 more, w: c9 f0 i* V# O
Caused by: java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory
; {/ v/ D" X0 n' x: C; o* R _ at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:60); ^4 R9 u- ~$ g6 t" l @0 |
at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:151)1 f" w ?# |- J6 a
at java.lang.Class.forName0(Native Method)" `5 |# n' a% s7 S9 ]" M% [
at java.lang.Class.forName(Class.java:190)
/ J1 |( ?4 r0 P4 [1 T$ i5 o at org.springframework.orm.hibernate3.LocalSessionFactoryBean.class$(LocalSessionFactoryBean.java:174)
7 ]5 T- r4 E5 u+ o at org.springframework.orm.hibernate3.LocalSessionFactoryBean.<init>(LocalSessionFactoryBean.java:174)
' L8 K" E' d3 u8 O5 N1 |9 D at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)& r2 |! x( ]/ u9 I& Z; {
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)( S8 @) D, e3 a
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)' c$ K: u3 h) r' N, @
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
7 |. H+ i9 B. m9 q! U; Y: q! z at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100): u1 E1 y4 l' s* P; M! l9 }
... 31 more |
|