TA的每日心情 | 衰 2021-2-2 11:21 |
---|
签到天数: 36 天 [LV.5]常住居民I
|
缺包异常:
2 Z' u# D( L3 F* C" W! L+ Y+ [6 Q———————————————————————————3 b0 ]5 n5 L4 }" A/ M/ z0 a
异常1:
, t- U$ T. T# u) s3 Ljava.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
/ `) _. l. X) N, Jat org.springframework.web.context.ContextLoader.<clinit>(ContextLoader.java:146)( d% V7 h% u1 N; F6 k2 U1 m
at org.springframework.web.context.ContextLoaderListener.createContextLoader(ContextLoaderListener.java:53)
8 y6 r2 b, F/ H4 vat org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:44)
" f9 s i1 _+ J: k; o需要加上:commons-logging.jar,log4j-1.2.11.jar
- k: q6 ?7 G3 q" Z———————————————————————————1 ?7 ]+ z1 q- o' i( P" _$ G% E
异常2:2 I# |$ c+ J o$ S; s
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# ^- c% D9 b9 y1 s1 f
Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException- H8 z; X* t4 X2 e8 j' j
at java.lang.Class.forName0(Native Method)
8 n* e' f8 M' \需要加上:aspectjweaver.jar- m8 r7 H: k) a! B7 {. P7 J9 L
———————————————————————————
8 ^9 o8 G: L) p* `% a+ R异常3:
, X2 I8 B# K" P& iorg.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.( N3 w1 ?! t, F8 m+ V
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.
. s) V9 f" g) b1 J+ _需要加上:cglib-2.1.3.jar% _, a/ m. a& u, W, ~( j, c
———————————————————————————
' N% c8 u( C' S1 g; m- s异常4:: i/ z" C' L; S* z9 Q5 ` o. i
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/TransactionManager2 V2 S) f. q6 k8 |
java.lang.NoClassDefFoundError: javax/transaction/TransactionManager1 s( q3 U: m1 h2 K
需要加上:jta.jar
$ t+ ] U0 `' [, h+ o1 D———————————————————————————
* ^* ?( {& y k4 f; Q s异常6:* ]! I6 J/ W, @7 ]
java.lang.NoClassDefFoundError: org/dom4j/Attribute2 W5 P6 I8 x/ q) I0 F3 H
需要加上:dom4j.jar1 k7 w1 ~" _# V8 x, J
———————————————————————————. W& N0 R7 _$ f+ i7 b3 i9 L2 h
异常7:- P+ ?1 \( b* k% P6 \9 c
java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException& e6 A0 s. U5 E6 Y ]4 o: q7 m& L
需要加上:ehcache.jar6 w" c/ p. x, @: A/ W
———————————————————————————
3 }8 Y1 w8 O+ K1 R0 m异常8:
# d/ e3 s4 `+ P" e4 h4 ~java.lang.NoClassDefFoundError: net/sf/cglib/core/KeyFactory8 u' f: e3 G- h$ w/ y
需要加上:cglib-full.jar
* [. _+ N1 X; S———————————————————————————
; E% y8 [+ S4 j; J" |异常9:
5 v: P5 _8 L* z+ s, Kedu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
7 l. C' v5 V0 @. \- n需要加上:backport-util-concurrent.jar# @1 Z" F; C: @8 P7 v
———————————————————————————+ G0 K+ J5 p) S7 d
异常10:
6 B% X% `, e& |, u& s: Y# F: A; kjava.lang.NoClassDefFoundError: org/apache/neethi/PolicyComponent
' V: V* U% [: L需要加上:woden-api-1.0MB.jar 和woden-impl-dom-1.0MB.jar和neethi-2.0.4.jar- ]. Q- u* c, T
———————————————————————————
' s$ r g% W9 x$ X2 @: l1 X( a异常11:
$ [ N% a1 \ O$ N/ m3 r1 Ajava.lang.NoClassDefFoundError: org/jaxen/JaxenException
2 M2 D0 p$ p9 d( M) p- H4 f需要加上:jaxen-1.1.1.jar% v8 e5 a3 z2 Q( q5 J' V
———————————————————————————5 d8 N/ b6 x% @3 I5 Z: N
异常12:$ U P, o! I5 C8 N! X6 M% n7 P
java.lang.NoClassDefFoundErrorrg/apache/commons/lang/exception/NestableRuntimeException
& D O% N! K: Y* K需要加上:ezmorph-1.0.2.jar、commons-lang-2.1.jar、commons-beanutils-1.7.0.jar、commons-collections-3.2.jar
5 s+ N( T! P. ^! m* {8 ^, w& ^9 M2 v+ f2 g# M
|
|