TA的每日心情 | 衰 2021-2-2 11:21 |
---|
签到天数: 36 天 [LV.5]常住居民I
|
缺包异常:& o6 O* {' _, R3 `$ i
———————————————————————————
# ]9 I& u) g- J5 D0 {异常1:
# f' h; ]6 }7 P( V7 T ?java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
4 b% |: @; Z8 tat org.springframework.web.context.ContextLoader.<clinit>(ContextLoader.java:146)1 F. w7 u" u; }
at org.springframework.web.context.ContextLoaderListener.createContextLoader(ContextLoaderListener.java:53). p5 ~9 \$ B' M3 N
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:44)
, Q% \/ p" G6 u# ?1 M需要加上:commons-logging.jar,log4j-1.2.11.jar
?% b2 W- z' {$ O+ g& R———————————————————————————+ ?1 R; z; Z% v0 _2 q |
异常2:: b; e3 w- _* {! S" ]: z, i7 B
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+ D4 X: `2 L" F/ e
Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException
|0 F7 u- Y; Y" r! ]1 Gat java.lang.Class.forName0(Native Method)2 E% u. \( g/ Y0 b
需要加上:aspectjweaver.jar n7 p+ j2 A& f4 j
———————————————————————————8 X# L* J' ]+ k% r
异常3:
; u$ b/ x1 b; J8 v8 corg.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 `: K" r/ a% l% h* oCaused 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.
; U! l1 s$ R @6 H2 m: d3 ?' ?需要加上:cglib-2.1.3.jar
- @* m2 r$ Q: P! G9 F7 ]1 l1 N. S———————————————————————————7 |" l, W7 v: @3 u! w! \
异常4:+ f" M1 c, i+ p8 C0 {
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
, Z1 ]% @, e& T M& @4 Vjava.lang.NoClassDefFoundError: javax/transaction/TransactionManager. f: S! {$ Q, P" o) ~% H
需要加上:jta.jar/ A W$ w" W+ K7 v7 ~* e6 l
———————————————————————————
# S% W) w. X+ \" D异常6:
2 J+ s( b* c, ?$ b8 _ _java.lang.NoClassDefFoundError: org/dom4j/Attribute
6 y2 A; z6 B0 k5 I. e' v需要加上:dom4j.jar$ d8 p6 l% p) v$ ?! Z
———————————————————————————
3 j$ |4 T) M! K5 P0 s异常7:2 I2 x6 a/ c) w# S. P# u. ]
java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException! p6 k1 I5 s; Y/ b: L3 Q7 U
需要加上:ehcache.jar, g6 j& c' \1 y1 I/ K4 D" M( ?: A
———————————————————————————8 t7 G& `: C" T- D7 e, J2 f
异常8: J$ [2 f& N, n# D3 F8 h( M5 {
java.lang.NoClassDefFoundError: net/sf/cglib/core/KeyFactory6 p1 m; `6 C4 u8 d& K( ^
需要加上:cglib-full.jar
4 n; _: z; o% T8 O5 E) G———————————————————————————( s9 _/ b# n4 e' Y4 J
异常9:0 v. ^: z' M: x) r7 D
edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
2 ^, F" G2 [- c+ z3 c* H8 F6 r( w( z需要加上:backport-util-concurrent.jar. @+ s- f# G9 W+ C j* t
———————————————————————————
# m4 K0 e3 K( _/ v1 f$ X1 r$ F# a异常10:9 {3 b0 X& E. m3 l
java.lang.NoClassDefFoundError: org/apache/neethi/PolicyComponent
y" _9 G* \ I需要加上:woden-api-1.0MB.jar 和woden-impl-dom-1.0MB.jar和neethi-2.0.4.jar
- M5 r7 f6 `9 |& v d———————————————————————————
. H& V! K& u. h6 _异常11:
. o8 {" E4 @4 C/ j3 x4 ejava.lang.NoClassDefFoundError: org/jaxen/JaxenException
- t! C* n& f( p+ w需要加上:jaxen-1.1.1.jar0 Z. y) E& L9 M" o
———————————————————————————# P8 k0 h( ?1 c9 R* B% H( c" [1 W$ t
异常12:- K" o! k4 d) N) @4 I f
java.lang.NoClassDefFoundErrorrg/apache/commons/lang/exception/NestableRuntimeException% r$ g: v+ R; ]% h) E
需要加上:ezmorph-1.0.2.jar、commons-lang-2.1.jar、commons-beanutils-1.7.0.jar、commons-collections-3.2.jar4 J/ b3 C& w% n
0 O- f' U) K+ _9 ]8 q0 J |
|