该用户从未签到
|
本帖最后由 xiaogu 于 2018-12-23 17:30 编辑 ) T& `# t5 u/ ?/ X2 ?- |
8 n& d9 I. I( i. WException sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
5 c7 R; A: u( x. D+ d4 B7 Sorg.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/ s4 o7 N" r* |# h
求帮助这是代码https://pan.baidu.com/s/1KovJpL1Y236-J8Wf4RfbVA配置文件
: Z5 A( v; P9 @ i) _+ J<?xml version="1.0" encoding="UTF-8"?>9 W+ u; @6 N& S p \; Y
<beans xmlns="http://www.springframework.org/schema/beans"+ t% G N( c3 s8 u5 t) \8 {
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"3 ~. L( p9 p# E& M& I
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
( d1 q6 u/ C* E5 B C% i
2 ^: n x/ o9 a) |) J) k <bean name="/playAction" class="org.gz.struts.action.PlayAction">
6 [$ m& q6 D: M% X% ?# ~1 w <property name="playService" ref="playService" />
0 O5 G4 D q* y5 v3 U0 r </bean>
4 ]) h# D) d$ U! |& Q# c- J) u" z+ w <bean id="playService"
) u, {7 i8 H# [6 Y class="org.gz.service.impl.PlayServiceImpl">
y' F. l% c6 l. N5 E! z5 g <property name="playDao" ref="playDao" />' b6 R) x4 [5 k2 [; `
</bean>
& S% Y& Y1 y9 p! E4 V7 y: q3 Q. ` <bean id="playDao" class="org.gz.dao.impl.PlayDaoImpl" />4 \& ^$ ~6 r6 l# ?7 I: W, S
- _7 q8 n6 ]* I( d. z, g& g- O <bean name="/userAction" class="org.gz.struts.action.UserAction">' X* |/ m! h+ A# _. x! B, _
<property name="userService" ref="userService" />
% _$ A6 u: v3 V <property name="allTypeService" ref="allTypeService"/>
/ k0 I7 {* E" u </bean>
. \/ f# \( o, Y5 w5 u- N: r* \ <bean id="userService"3 P% f v5 f" B/ o/ ~8 v
class="org.gz.service.impl.UserServiceImpl">
: t8 n9 d) B" u( L& c <property name="userDao" ref="userDao" />
- y a' R0 {7 c. c/ z j </bean>
( H9 [6 j8 J" O7 ^ <bean id="userDao" class="org.gz.dao.impl.UserDaoImpl" />
1 ], `- W1 F9 Y2 y) I% Z" _ " a1 \6 [7 R# R, @( K- @/ d
<bean name="/typeAction" class="org.gz.struts.action.TypeAction">
$ g7 T# w+ |+ J6 W2 n1 w" { <property name="allTypeService" ref="allTypeService"/>
/ z/ V7 h$ T" z: h* { </bean>+ H9 A/ W5 ^# n
<bean id="allTypeService" class="org.gz.service.impl.AllTypeServiceImpl">
# ?, q9 |* P2 p9 w* D' | <property name="allTypeDao" ref="allTypeDao"/>1 U8 U' k8 Y9 ~! q- F# Z
</bean>
+ P1 w) T) W0 S6 a <bean id="allTypeDao" class="org.gz.dao.impl.AllTypeDaoImpl"/>2 }/ |* |+ D5 Q; Q( e: A+ z
: E8 d) Z+ P/ K; x2 ^, c
<bean name="/typeItemAction" class="org.gz.struts.action.TypeItemAction"># p$ v' Y3 ~" @+ h
<property name="allTypeService" ref="allTypeService"/>( ?) E5 ^" p; K$ K" t' N
</bean>$ Y0 W4 |7 p$ V m7 }$ h
<bean name="/fileAction" class="org.gz.struts.action.FileAction">, N: ^5 J; ^# h$ M' d5 x
<property name="fileService" ref="fileService"/>& b( I2 J1 n% P
</bean>
" h" l2 U$ _ i0 d/ s4 { <bean id="fileService" class="org.gz.service.impl.FileServiceImpl">; k# d5 V7 }, d$ G1 D0 D X! R; z
<property name="fileDao" ref="fileDao"/>" |. p6 _; b% d
</bean>
2 G7 U8 z8 M. Q- q. S <bean id="fileDao" class="org.gz.dao.impl.FileDaoImpl"/>
: S- E' B. O( X* A
; W/ ]! S% a1 E( V. d$ M, _, L" ^ <bean name="/newsAction" class="org.gz.struts.action.NewsAction">% e( b* H# i$ G5 p) c# A, u3 c- Q
<property name="newsService" ref="newsService"/>
, o1 m0 m! s' {' M! i5 B <property name="playService" ref="playService"/>* O6 n( o0 s* |
</bean>
' W [( d3 B1 Z <bean id="newsService" class="org.gz.service.impl.NewsServiceImpl">* l; O* W( r( |% a
<property name="newsDao" ref="newsDao"/>
( r9 Z) t* [9 q8 v) q </bean>9 P" l v0 |2 x
<bean id="newsDao" class="org.gz.dao.impl.NewsDaoImpl"/>
, \. K5 p; F3 o# b0 k+ a6 f
# Z% O0 p1 }9 ]! J& @+ d <bean name="/registAction" class="org.gz.struts.action.RegistAction">
4 |6 F* o2 [ M8 ^/ l, e <property name="registService" ref="registService"/>
& L( T1 l' k/ F! N <property name="playService" ref="playService"/>
* z8 q( Y t* w: s" X2 G </bean># f( U. Y+ F2 M, E; B& g
<bean id="registService" class="org.gz.service.impl.RegistServiceImpl">
5 W$ j ^4 j: E; q( G <property name="registDao" ref="registDao"/>0 ^7 M" J+ i4 X5 E% X$ `5 R
</bean>
& r: O; \# s: \. n2 k* [ <bean id="registDao" class="org.gz.dao.impl.RegistDaoImpl"/>2 H/ }+ q% |4 X3 c! Q
</beans>
" i: o; }1 F1 e$ ]& O5 y
- @( Z9 y _+ m6 Y J+ Z$ i- L; A* A7 w; H
|
|