TA的每日心情 | 衰 2021-2-2 11:21 |
---|
签到天数: 36 天 [LV.5]常住居民I
|
缺包异常:
8 C' T% l3 T3 j. Q c( b9 s———————————————————————————
$ j2 P W0 ^0 s( j异常1:1 a$ V- x$ L4 z7 d) w
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
) s7 p" Z6 R9 hat org.springframework.web.context.ContextLoader.<clinit>(ContextLoader.java:146)+ i/ _( h0 A. n( o5 B) I
at org.springframework.web.context.ContextLoaderListener.createContextLoader(ContextLoaderListener.java:53)7 k# Z& \6 D2 `
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:44)
2 Y) D& B. l- X- T6 d3 |需要加上:commons-logging.jar,log4j-1.2.11.jar
( S: H ?/ Y+ U, a# C———————————————————————————
0 \" n R- x8 A+ [异常2:
1 o4 R. ^+ k3 @* ~$ w9 r3 a- H; F/ b8 Horg.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* o1 V! q3 I8 j) q% l
Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException
; n) D5 b. Z% Q% Bat java.lang.Class.forName0(Native Method)0 P6 H! `$ \2 j1 {' @3 z) k+ p
需要加上:aspectjweaver.jar- Z* w- h) w- ?1 @% V7 K
———————————————————————————
2 E J. o9 Z- Q异常3:, r, r' \% N. D6 l; p
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.
2 u0 r: o% s' h6 ?9 F: nCaused 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.4 B4 h( Y1 m7 T0 p3 e; o
需要加上:cglib-2.1.3.jar
( ]/ w+ j6 [ t6 [& _; K———————————————————————————7 G) |7 ]* c% u. s# B
异常4:
* X; g9 z' S$ ? O e3 ~& oorg.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. `0 Q% K( j4 g+ J& ^
java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
" \7 M( k. A2 J- p0 r需要加上:jta.jar9 F. x1 x7 I& d6 J* C
———————————————————————————
D7 g/ Q$ c2 e5 n8 w* m: q6 D异常6:8 k( {% D0 _; j: C4 U
java.lang.NoClassDefFoundError: org/dom4j/Attribute5 O' j3 o. O' Y( v: M
需要加上:dom4j.jar- z9 g4 ]/ Q3 Z+ B
———————————————————————————
4 M, M: M- ?3 l2 X( z% b5 ~1 E3 _4 H) P异常7:6 x2 f6 _2 H; S! v/ \
java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException; g+ w7 g. k8 s* C# C5 s M J4 w
需要加上:ehcache.jar: c1 f, n8 G4 e# `# t
———————————————————————————2 m5 j" I+ @2 w! J
异常8:; u' X* m, G" y. J
java.lang.NoClassDefFoundError: net/sf/cglib/core/KeyFactory
4 ~, g- }1 M b; s9 Z需要加上:cglib-full.jar
0 T1 |4 U! N V9 |0 [ ^———————————————————————————; @- E9 w2 w3 F; ^! X. Z
异常9:
8 y0 R: G! K3 q/ D" ~3 e3 sedu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
! K3 b+ x4 X. A S; ~" W0 n" a需要加上:backport-util-concurrent.jar. Q$ q1 R0 ~* Y' k1 |0 `* g
———————————————————————————
r5 O( _0 c. T' y异常10:! D3 d: M$ u1 f
java.lang.NoClassDefFoundError: org/apache/neethi/PolicyComponent$ ^3 o1 E' i. x* }0 F
需要加上:woden-api-1.0MB.jar 和woden-impl-dom-1.0MB.jar和neethi-2.0.4.jar; C: ?8 A2 ~0 E6 u- I
———————————————————————————
3 W3 P; k3 \5 {; W2 f1 E异常11:
' J% m2 ?$ _1 Fjava.lang.NoClassDefFoundError: org/jaxen/JaxenException
% S! o }: M( z# [ S需要加上:jaxen-1.1.1.jar
' P* }6 H' ]( J. G e' o———————————————————————————
& C5 x; I. q* e2 O% S2 K, @异常12:
/ R# q: n! C9 ~java.lang.NoClassDefFoundErrorrg/apache/commons/lang/exception/NestableRuntimeException* l; s k" |" c# M$ h2 ], l
需要加上:ezmorph-1.0.2.jar、commons-lang-2.1.jar、commons-beanutils-1.7.0.jar、commons-collections-3.2.jar. }5 a2 N+ {+ o- @+ F0 a/ L
3 z# a+ X$ A( e7 ]; k5 p, J: s |
|