TA的每日心情 | 衰 2021-2-2 11:21 |
---|
签到天数: 36 天 [LV.5]常住居民I
|
缺包异常:+ A7 h- y' }( E) |6 K
———————————————————————————2 ~. v+ [- D$ y$ J# p) N3 T! S
异常1:
% H/ ?5 m$ i; ?3 H- v1 y6 ?$ Fjava.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory% p. x7 D5 F- w4 D- n* c) b8 D
at org.springframework.web.context.ContextLoader.<clinit>(ContextLoader.java:146)3 ]6 H9 X$ p1 b8 H* d) a/ B! m" x
at org.springframework.web.context.ContextLoaderListener.createContextLoader(ContextLoaderListener.java:53)
+ p) Y; }% H1 T' aat org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:44)
( r" `6 P) v7 R" g+ I需要加上:commons-logging.jar,log4j-1.2.11.jar8 m$ D1 _5 s8 ^% i" x- m
———————————————————————————0 ^6 g% ?; J, E/ Q& T9 u
异常2:9 I0 E; [% l5 B' W) R; L& ~
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [text.xml]; nested exception is java.lang.NoClassDefFoundErrorrg/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException
5 t' P* y4 ]# `. U0 [1 lCaused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException
3 m$ u2 n1 X3 N) |! _* |at java.lang.Class.forName0(Native Method)
! j4 f) }8 w" ^7 B9 t需要加上:aspectjweaver.jar
" i" M/ }" @8 O" b& U———————————————————————————9 j% G ~% k+ e8 O) ]: O
异常3:! P( o3 U6 O5 F
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘logBean’ defined in class path resource [spring.xml]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.
; U! `& ]7 b' w4 x9 xCaused by: org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.
& l9 w$ a( o2 [$ B# H9 q需要加上:cglib-2.1.3.jar
+ W3 [/ b( i: z6 M; r7 Z———————————————————————————4 G/ A4 P1 l! V! ]* z" Y7 n
异常4:
- J, A9 n1 n: w; s% Dorg.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘logBean’ defined in class path resource of ServletContext: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
: T7 D# K/ d8 T. mjava.lang.NoClassDefFoundError: javax/transaction/TransactionManager
: r) Q9 K" q% f+ `& k u需要加上:jta.jar
8 b9 M& B1 F% O# Z———————————————————————————) W A, c( X, {/ {# a
异常6:
" R, j" y/ u6 b7 ]java.lang.NoClassDefFoundError: org/dom4j/Attribute
9 J# x$ x9 B& Q7 G% |$ @* U; k* n需要加上:dom4j.jar$ k2 \% _0 e( M' c
———————————————————————————5 _' H, M2 w8 \7 f( S! |* U
异常7:3 X' l- V o2 ~. o. M
java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
' z) _0 z D5 R) `" K K$ N# P+ I/ D$ W需要加上:ehcache.jar
: X3 @# H/ o! s; J8 x2 s———————————————————————————. f- _3 |7 `8 { I, h
异常8:$ m- M$ u+ {4 U/ e. o
java.lang.NoClassDefFoundError: net/sf/cglib/core/KeyFactory
/ _$ j% d/ Z' ^! N/ P6 p* d* |需要加上:cglib-full.jar4 z7 Q6 M6 T1 c' K a
———————————————————————————
* T2 Z9 N+ K5 b异常9:+ X B T4 d0 {" L+ v/ C
edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap: `& F, [ L" p, [5 M2 U9 j
需要加上:backport-util-concurrent.jar; e; R$ F, @( _( R& \! r: u
———————————————————————————
! @6 ]4 r- t2 @. e" s1 M; X5 c% ^异常10:- `; C1 d1 ]( G
java.lang.NoClassDefFoundError: org/apache/neethi/PolicyComponent k( u/ ?/ K* D0 Y9 V A) X
需要加上:woden-api-1.0MB.jar 和woden-impl-dom-1.0MB.jar和neethi-2.0.4.jar
5 `# j/ a, i5 @1 ?+ d* C+ x———————————————————————————
7 Z0 o2 `0 d9 k y! E异常11:
, t8 w" U- e2 |. H3 j3 j! Ijava.lang.NoClassDefFoundError: org/jaxen/JaxenException
. m. A6 u. j& S& j需要加上:jaxen-1.1.1.jar" y' g7 X$ l# ~) @* |
———————————————————————————
" | ]5 n" w+ _- D) ]( m异常12:
+ L# s. B5 a2 m# e, B! Ojava.lang.NoClassDefFoundErrorrg/apache/commons/lang/exception/NestableRuntimeException( X2 \& K3 ^9 Q9 x) w, \3 D8 n
需要加上:ezmorph-1.0.2.jar、commons-lang-2.1.jar、commons-beanutils-1.7.0.jar、commons-collections-3.2.jar
7 C8 q+ V& e1 e3 W
: h2 d3 E6 m& H c. i8 C% t$ s |
|