该用户从未签到
|
本帖最后由 xiaogu 于 2018-12-23 17:30 编辑 ( L3 \4 `9 R8 b N' ]
! `* R! n8 z+ [& b& o) S3 nException sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
9 G1 z4 \9 k4 A: ?org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.gz.struts.action.PlayAction] for bean with name '/playAction' defined in class path resource [applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.gz.struts.action.PlayAction+ P$ [& M7 p$ ^9 [; W5 Q `
求帮助这是代码https://pan.baidu.com/s/1KovJpL1Y236-J8Wf4RfbVA配置文件' a# E0 a( q3 U/ r, o
<?xml version="1.0" encoding="UTF-8"?>. ?3 m+ a& c; ^6 b5 s, O! s& R1 r
<beans xmlns="http://www.springframework.org/schema/beans"8 h- f5 M# E, g
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 q; V* g M* P" W* y xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
( }: y+ m8 t+ V3 U( ~
2 x q m" Q1 h8 ]1 c( H1 c <bean name="/playAction" class="org.gz.struts.action.PlayAction">& }5 y @0 Z9 @5 t8 s5 j
<property name="playService" ref="playService" />/ J: f' K) M1 G9 C6 r+ r
</bean>
/ f8 x8 Z0 [+ x- t* h9 F <bean id="playService"2 g+ f2 q& H6 M7 a) m. H* s
class="org.gz.service.impl.PlayServiceImpl">, P/ M6 c. x3 w0 G; v# J
<property name="playDao" ref="playDao" />
* c* G; T$ L# b </bean>
2 u1 Q" m6 t6 M <bean id="playDao" class="org.gz.dao.impl.PlayDaoImpl" />4 O' ~+ o' u. }- u0 I! s
- L, X+ k- x% e2 q; V1 y2 P <bean name="/userAction" class="org.gz.struts.action.UserAction">- b d; L1 j O" l8 P$ a
<property name="userService" ref="userService" />5 U5 i( y! K; i- Q& x
<property name="allTypeService" ref="allTypeService"/>8 g. v3 _6 {' A! N: y8 V( v1 ^/ Y
</bean>
& v* t. ~, d) F <bean id="userService"& y1 k) W1 t7 G4 @
class="org.gz.service.impl.UserServiceImpl">: D1 j$ V' ]( n, c% ]! l( l. y. C
<property name="userDao" ref="userDao" />
5 Z" ^, o$ R& W% ?' j </bean>+ D# |7 v$ X7 r7 @8 U9 h+ |3 q( j4 c
<bean id="userDao" class="org.gz.dao.impl.UserDaoImpl" />
6 D8 n% K7 ~" Y/ G h0 Q) [2 i3 L, L $ c7 V3 X0 L8 d0 N$ y# T2 o. ^$ e
<bean name="/typeAction" class="org.gz.struts.action.TypeAction">
- m$ O5 J) e/ o, @0 u <property name="allTypeService" ref="allTypeService"/>( T8 \/ Q( C4 r& B$ z
</bean>
- X+ O4 ]$ w" J5 {. z, m. O1 T# ^ <bean id="allTypeService" class="org.gz.service.impl.AllTypeServiceImpl">/ z: z4 w( C2 y: ]+ R% Y
<property name="allTypeDao" ref="allTypeDao"/>+ r. ^* f% N3 v# D9 ]' K* L9 M
</bean>3 J; r- @; f/ E' f$ N5 U( U) u4 V
<bean id="allTypeDao" class="org.gz.dao.impl.AllTypeDaoImpl"/>
5 t8 a6 N# c0 f" N
3 ?- p+ o, w1 G \# l) {; K <bean name="/typeItemAction" class="org.gz.struts.action.TypeItemAction">3 ]) g( Z) u; S! w5 w9 E
<property name="allTypeService" ref="allTypeService"/>0 J- n; Y; D( M! `* q& a
</bean>3 c) G- ~ \# G* [
<bean name="/fileAction" class="org.gz.struts.action.FileAction">' ~: \- E: r: U' J! Z% k; b- t: ~
<property name="fileService" ref="fileService"/>
1 O6 Z ?6 Z' c$ V </bean>
' s# F' L, b P2 {- @" s5 u <bean id="fileService" class="org.gz.service.impl.FileServiceImpl">
0 W- U. _% M2 X d* h: l# Y <property name="fileDao" ref="fileDao"/>9 W: W/ ?# X& c* q' |
</bean>: W/ b) n' w8 n& J' _: h z
<bean id="fileDao" class="org.gz.dao.impl.FileDaoImpl"/>! s$ E. d" F9 x* \$ [
6 {( P6 f B8 g5 n: k <bean name="/newsAction" class="org.gz.struts.action.NewsAction">
* _3 G1 K2 \) M. j- Y <property name="newsService" ref="newsService"/>9 x! D: H) T. m
<property name="playService" ref="playService"/>
2 `2 ~+ l# t3 y# s </bean>$ I$ A Q8 C: _6 M! A
<bean id="newsService" class="org.gz.service.impl.NewsServiceImpl">
5 C2 O5 s5 v/ f <property name="newsDao" ref="newsDao"/> H" ?* E$ r" s" y7 J
</bean> A2 b4 V# d m |' U
<bean id="newsDao" class="org.gz.dao.impl.NewsDaoImpl"/>) \! l) Q' n3 J& j0 P6 U; o4 k
) e- c0 O3 V8 b" {) r <bean name="/registAction" class="org.gz.struts.action.RegistAction">
- Z9 d! [, }7 X d B8 e* u <property name="registService" ref="registService"/>
3 U: \& K% B$ J: z9 h, Y <property name="playService" ref="playService"/>
- p9 ?( b% m3 Q+ A1 X </bean>
. o" C( }' }7 X9 \/ o5 p <bean id="registService" class="org.gz.service.impl.RegistServiceImpl">
! x6 N1 X/ Z0 I% Q <property name="registDao" ref="registDao"/>
/ y( {" i% V: R" W0 t7 W/ T/ H </bean>
8 @* Y$ l2 J, d5 v+ m6 @ <bean id="registDao" class="org.gz.dao.impl.RegistDaoImpl"/>, L C0 `! r! M; y7 {
</beans>: A5 p7 ]. J+ B: v
1 Q' B- v- L0 t, G9 T8 r" [
4 v' O) [$ }7 O
|
|