该用户从未签到
|
地板
发表于 2017-01-07 17:34:41
|只看该作者
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1020)
8 c+ H$ c4 }' O4 e% F org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)* T8 L; b7 d( H% {+ J$ b
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)# d' C/ Z8 A! U9 X& V7 z+ s
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:140). E J/ I% w* p2 N, j
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)- q/ _& S( W: R
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
! z$ f$ Q3 b* x; g' W org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:273)1 a* X) Z3 Z% d% T6 d1 z
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)8 ?# f Z8 ^3 ^- `
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)& Q, H0 D& l2 x+ o; O5 T. g
org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:308)) L9 F, X, K8 [; S
org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:252)9 ]5 E9 Q5 B/ N: C1 q% \; T
org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:221)
: y# ^" G& b# z1 q. [( Z2 g4 l4 A org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:115)
* l# h! F4 f$ \ javax.servlet.GenericServlet.init(GenericServlet.java:158)$ t- }) V U3 i3 C
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)/ z; G8 Y( m# N! m$ f0 q5 `6 m
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)0 R7 J4 k4 S! @3 ?% c- D
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:958)" S3 G9 M4 A) K/ p! }6 e
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:452)
7 A) h5 E% m4 M3 Y, P8 M' L6 } Q& s org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087)
/ B' ^6 r F+ J: D, w3 ? org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)# K& ]. ^6 }# b0 Z4 w+ m- z
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
# V& U9 [% I M+ {/ n w java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
6 Y( W. M% d3 u7 s java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
6 C) t& f0 |; n7 M# v: \8 B5 B$ ^% R org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)7 ^2 i- W& w7 f. M# y0 k5 x
java.lang.Thread.run(Thread.java:745)$ \0 j; h8 |/ {/ k c
root cause8 z- C7 U8 P" T5 O
7 |) \5 K- |: _7 d! U1 @+ P) oorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in ServletContext resource [/WEB-INF/Hibernate_Config.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/Hibernate_Config.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
8 Z3 X8 n/ W& Z. M9 P org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:256) x6 ?3 |5 r: [, } T7 q
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)0 q4 `+ O- u L( ^5 a2 j
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:950)
4 K, N1 g3 D6 m2 ^( T% j/ K& i! \ org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:740)
- T! [) \( x: ? org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:417)4 F5 s& L2 p' r! I
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
2 a' e% H: c& D9 A" N org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:140)" A( H" ~( {+ a0 L+ F& `, V
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
0 T3 l3 l( Q6 p. V/ j9 f* J2 ] org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)- I2 D( }, {. c3 w. f% p
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:248)
1 ]- s- F. I: O1 ?4 O, e2 V org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
6 L7 n- h' Z7 e: ? org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:950)! D& b' ^4 F* U9 Q6 s
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:740); `6 f6 [- R7 s, B. ?. r3 T5 v
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:417), t. L; m, u9 [' F, c) F- V8 m
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245): p) |6 n! `) D) B, S/ B' i
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:140)( U& x2 B& r$ _/ E- t' o4 k- J
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)1 O1 X2 x& H- K4 }
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
* N: ?6 D& K+ e: P3 b- P; ? org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:248)9 P7 {$ n/ M, O4 J8 b" ?. C: T
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)4 v* y3 A6 ]" r9 g2 C% C0 j. \5 N
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:950)
3 D: i# H/ x; ~" R org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:740)3 a: V( \" C; a" `7 P8 K
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:417): ?: e4 k; ?- l6 F% s2 x
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)5 o/ q3 ^9 T* r) g8 V% u; O
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:140)
6 h. S7 e# z0 o org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)! e" n2 ~2 E- |% S j! o5 F; K/ f; Y
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156) q# B; R7 P' S b6 {
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:640)
& ^6 S7 c& z6 J/ i4 r0 u org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:224)$ T* b2 D4 w' H; ]- E b$ d( I
org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers(SimpleUrlHandlerMapping.java:125)# l5 p" k9 f0 X, Y$ I" c7 E
org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.initApplicationContext(SimpleUrlHandlerMapping.java:103)' q+ R* ^, ?' w# Q1 s4 {
org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73)
0 q9 p7 V1 M8 `/ O/ ] org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:86)
# J( k% y7 X: K6 k q org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:298)
' L$ \7 v" Z' w& n2 H4 F2 a" s8 ?) v org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1020) m: t' p, x( C$ m
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421), B9 O" R$ I! |
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
1 M( V4 m$ \8 m org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:140)3 `2 c, U4 b, C$ t ~' N
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)/ f. B& T5 g. x& X
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)( s9 {- O( j4 G
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:273)
7 g( ~; b# {0 a8 Q& x* G) | org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
1 s; ]1 o P: h1 C' H) [; {( u4 E. Q org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
" H9 H3 U# V. O% D9 S org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:308)
5 T3 \1 ^. ~6 i' ^ org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:252)2 V' {+ Y0 f/ ]" ^
org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:221)
1 Q$ C# ?& k l org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:115)% a; N% M5 t* ~8 i( k$ ~" r9 i7 r
javax.servlet.GenericServlet.init(GenericServlet.java:158). B: _$ d! K, ~; |( q$ _
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505): A; L$ t+ {1 ` l# P+ b
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
7 `1 v6 S0 s: J8 o6 Z5 J# e& r org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:958)
' H. R! [6 Z3 p org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:452)
, z7 P" U, P( v9 ]6 u" q: X9 | org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087), ~' @4 q7 T0 n, l
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)+ K) P. b- g0 K" C3 B6 ` K5 @9 g
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)( r1 g( n8 G4 b: ?
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
6 g" S3 P* Y! J' `- d2 t$ p k java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)& `) d# j. J" d
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) W' |$ x% M9 q
java.lang.Thread.run(Thread.java:745)
, U( R6 D4 u/ }9 u. d, n% Sroot cause4 u/ C9 Q+ V" z! k
|
|