TA的每日心情 | 衰 2021-2-2 11:21 |
---|
签到天数: 36 天 [LV.5]常住居民I
|
缺包异常:& [) J' }: J. Z8 V! D# u4 h
———————————————————————————
1 _. i" ]1 U; [& s* g0 D' I7 W7 g异常1:: r; o, i8 p7 {* c1 Z* c- `6 w
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory! n) t8 S# Z7 k7 n3 q; d
at org.springframework.web.context.ContextLoader.<clinit>(ContextLoader.java:146)
9 X8 @! g, [! V' e6 Kat org.springframework.web.context.ContextLoaderListener.createContextLoader(ContextLoaderListener.java:53)
3 n. \2 S; K8 K7 wat org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:44)0 w# O- `5 I0 H3 [( ?3 I
需要加上:commons-logging.jar,log4j-1.2.11.jar
|' S; `# f5 Q' r" d& X———————————————————————————
+ i. l1 c0 K. E& J异常2:
7 G6 E) G q9 J, t6 w) J: Porg.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
# V$ O; `- H6 pCaused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException
- @; W' C; T8 c6 H8 E5 [: ~/ nat java.lang.Class.forName0(Native Method)
' C( }% G8 P* e需要加上:aspectjweaver.jar
/ `$ L, Z& k3 @; c" g———————————————————————————
9 a+ ^; I$ }. e4 ~* C4 r异常3:( S9 {+ z! ~( m3 q! u7 u1 {
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.4 E1 M7 p" \% e; V* M
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.
' T( @- t( V9 ~/ P4 V* ~) K需要加上:cglib-2.1.3.jar. R8 o5 x% {+ j% O ?+ T) C
———————————————————————————
' C2 _& d% E( ^ O1 \. G异常4:
$ b, P: m7 }" X6 v* Q/ G7 e8 c& gorg.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
/ J! {7 f" w; l. X, t; tjava.lang.NoClassDefFoundError: javax/transaction/TransactionManager: s% y p/ m- Z4 y
需要加上:jta.jar
" v h) J/ P: D: w$ ?! }———————————————————————————7 \6 [$ ~: V6 l% A0 P) W8 o
异常6:
! n7 ]6 U7 v0 ?5 J+ t6 \java.lang.NoClassDefFoundError: org/dom4j/Attribute" `0 q' H8 f, H6 g
需要加上:dom4j.jar, C+ |7 z, T# M) b
———————————————————————————+ T; G6 d+ e Y
异常7:
x- s0 n8 r e: Z5 D& S% rjava.lang.NoClassDefFoundError: net/sf/ehcache/CacheException( ^0 s' Y& j& p
需要加上:ehcache.jar& G, @# ~( E- [" G! {& w) X9 N
———————————————————————————
0 s, B8 G" ^) t/ H. H! A+ U异常8:* \9 H o! p- R T+ ^, \2 \; k
java.lang.NoClassDefFoundError: net/sf/cglib/core/KeyFactory6 i7 u4 H) m- g" h5 t1 U
需要加上:cglib-full.jar' i6 A6 `0 e# m7 r# C+ e) l2 w2 {
———————————————————————————
4 w* I. v7 Z+ Z8 L( _, r异常9:+ {. C" d0 A% ?; J V. g
edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap6 s% Y5 h, b$ M: N' h l C
需要加上:backport-util-concurrent.jar
- ^) u/ W5 k; r- D+ h* A& X ^———————————————————————————
& U; U8 x6 L5 g: D异常10:0 E8 M9 ]! O/ g4 s
java.lang.NoClassDefFoundError: org/apache/neethi/PolicyComponent4 u" `8 ], ?2 p" x6 Q$ g$ ~5 {0 n
需要加上:woden-api-1.0MB.jar 和woden-impl-dom-1.0MB.jar和neethi-2.0.4.jar
. p9 P/ A4 b$ c( G———————————————————————————1 P+ ~% m( i3 V/ c% D5 v
异常11:
' i7 R' ]9 @: k9 z0 @java.lang.NoClassDefFoundError: org/jaxen/JaxenException5 D6 P- i$ a$ M# m5 X$ j7 N) ]
需要加上:jaxen-1.1.1.jar
6 i& E5 j P! H) d4 ~ ]——————————————————————————— n' ]" x2 B- b$ T/ a
异常12:
. F; ?% [; f$ X& a, y, Ojava.lang.NoClassDefFoundErrorrg/apache/commons/lang/exception/NestableRuntimeException
3 L1 W1 L ~; L6 y( `) d9 Z需要加上:ezmorph-1.0.2.jar、commons-lang-2.1.jar、commons-beanutils-1.7.0.jar、commons-collections-3.2.jar: l7 M, f6 L/ L7 c1 H7 ?2 a
) Y# l4 B( S, _( [ |
|