TA的每日心情 | 衰 2021-2-2 11:21 |
---|
签到天数: 36 天 [LV.5]常住居民I
|
缺包异常:
0 ]* o8 r# b# i |' E+ V———————————————————————————- X/ w) K. `' T
异常1:4 C6 Q4 C* T9 X9 h# w
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
6 ~; h# @) @& I2 y: R @at org.springframework.web.context.ContextLoader.<clinit>(ContextLoader.java:146)
1 Q6 Z0 h3 ~! k7 Y. `' Q0 B4 sat org.springframework.web.context.ContextLoaderListener.createContextLoader(ContextLoaderListener.java:53)
$ j1 g/ l* S) p5 e- Xat org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:44)
9 z/ H$ w* T6 ]" Q需要加上:commons-logging.jar,log4j-1.2.11.jar* e( `2 O$ G% `6 T# c' r
———————————————————————————0 r, p7 a2 e; @6 `4 a% c' E9 ] B
异常2:& H; d2 E+ b4 T3 h) L m( M
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$ReflectionWorldException4 T) D& g0 F6 C% Q' W+ k2 X7 Q7 v
Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException. ~1 z+ A( R& z" n2 `0 N
at java.lang.Class.forName0(Native Method)
1 Y0 P; O( Z: F1 x% K! [7 N需要加上:aspectjweaver.jar9 m" H/ _* | H( j: B; `. x2 e
———————————————————————————
0 a& q8 D6 D- G. |) L7 I异常3:
$ E4 u9 B9 B' C" G/ F3 L+ zorg.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.0 h! e7 p2 b7 h V3 U; c
Caused 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.
6 {( O! _/ w/ I+ x% a r, ~需要加上:cglib-2.1.3.jar
2 v0 a0 k% o; C7 E/ l* T! e7 Z———————————————————————————
: T+ M3 S) u% s2 m. p% d异常4:. ^" d: G; X. A1 `+ X s
org.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
! P! p# O: q) \* r* m/ ]java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
, |) P0 O# [( V: }* m需要加上:jta.jar4 b4 o: U0 q2 q5 S9 H5 F' e
———————————————————————————
( V. |6 h9 {$ X2 P- P异常6:. N' K9 F1 J: r* c8 q: y. o
java.lang.NoClassDefFoundError: org/dom4j/Attribute2 r3 D3 y2 Q0 R3 A6 C6 A
需要加上:dom4j.jar; s5 x9 G0 I+ F% [3 m& f
———————————————————————————
2 R" } h; d: ?# ~, W异常7:- v/ n+ ~0 p( z& Y
java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
9 O1 k, g& z+ @) b需要加上:ehcache.jar
7 E7 x U W+ F, S———————————————————————————! C! O% x# C$ l
异常8:
5 |5 g7 h2 m9 s% {8 f8 N v {java.lang.NoClassDefFoundError: net/sf/cglib/core/KeyFactory7 ^/ I* ]* q+ X$ _
需要加上:cglib-full.jar) E6 Q1 v _! f7 \, J1 B/ ~, F
———————————————————————————- ]7 ?" G5 [4 B6 S6 f+ i2 x
异常9:" V9 s( a& p) x4 k
edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap# a6 A1 p! I+ C; ^9 a1 `9 l
需要加上:backport-util-concurrent.jar
/ L1 h" r0 U& N0 u% L———————————————————————————" ~$ G- x4 Z& T: F [+ o
异常10:
5 P# ]: }" ?% ^, `7 S: E, r. c1 jjava.lang.NoClassDefFoundError: org/apache/neethi/PolicyComponent# T7 q! g; o" p. V: Z
需要加上:woden-api-1.0MB.jar 和woden-impl-dom-1.0MB.jar和neethi-2.0.4.jar, c9 q8 z! c4 B! U: a5 j
———————————————————————————
/ u" |+ r+ X0 P% }异常11:
, B' N& X4 `; t1 ^( L1 _java.lang.NoClassDefFoundError: org/jaxen/JaxenException
0 U. ?- `. z/ i# V, S5 `7 e需要加上:jaxen-1.1.1.jar
. u6 Q. w: x i———————————————————————————4 n% m. j z7 R
异常12:+ Z0 M; @* U N/ o4 n5 _- B3 V
java.lang.NoClassDefFoundErrorrg/apache/commons/lang/exception/NestableRuntimeException+ u. p9 E- G, K4 P: m( F/ S- t
需要加上:ezmorph-1.0.2.jar、commons-lang-2.1.jar、commons-beanutils-1.7.0.jar、commons-collections-3.2.jar
* ~/ e4 ~) g6 d% Q' u! v: u. l' }
|
|