|
该用户从未签到
|
本帖最后由 xiaogu 于 2018-12-23 17:30 编辑 0 G/ Y" s9 q( u
* e# c: `9 _: {; ^
Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
- l) r- y G, b6 E5 qorg.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
8 C# v! j* [* O' |/ F2 P! j. J9 h求帮助这是代码https://pan.baidu.com/s/1KovJpL1Y236-J8Wf4RfbVA配置文件
/ p/ H( m* j# ]$ t( f9 x$ M+ t<?xml version="1.0" encoding="UTF-8"?>
& }% V( M: L1 d) h+ j2 q<beans xmlns="http://www.springframework.org/schema/beans"/ e1 H$ D3 l, z( h4 ?
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"- w5 R' A# H9 P5 D3 t8 B1 G
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">8 k2 V; s7 V" W( A2 y2 Q
: {/ a5 _% X9 Y7 P" B) f& W
<bean name="/playAction" class="org.gz.struts.action.PlayAction">
* v. R6 [6 I% y @6 q1 k9 U! p <property name="playService" ref="playService" />, l2 F' v6 H+ E3 N. d, j
</bean>
9 x a; a1 L T1 f, e3 A <bean id="playService"
3 j& w+ o: Q( v: @ class="org.gz.service.impl.PlayServiceImpl">
& D2 g. f K9 r! c+ D; n9 t1 M <property name="playDao" ref="playDao" />1 J X- M2 e* k5 m# g
</bean>' u: P* e. p* ?8 X( z
<bean id="playDao" class="org.gz.dao.impl.PlayDaoImpl" />
3 h& ^& h0 m/ t3 [9 C3 w7 J8 m
9 t) v) B# J5 h0 P; Y2 }3 |% h" i; `% n <bean name="/userAction" class="org.gz.struts.action.UserAction">
3 w/ x2 I8 {8 o* A$ u: B, p( r <property name="userService" ref="userService" />
# e' ?- T* K8 g! }/ M <property name="allTypeService" ref="allTypeService"/>! [" o- x O% a7 _: R
</bean>
' e. h- a" G1 b <bean id="userService": \& U* E! F! M" s2 g) O- Y
class="org.gz.service.impl.UserServiceImpl">, w- h7 s6 A5 e4 L
<property name="userDao" ref="userDao" />
; I7 {; T0 v5 r" [ </bean>
% z$ U% V# O8 K& [! G% U* y) ^ <bean id="userDao" class="org.gz.dao.impl.UserDaoImpl" />8 _. l- p0 @: G' @. a
' X5 p9 o: X. c <bean name="/typeAction" class="org.gz.struts.action.TypeAction">, @" _; S6 y7 Q" u
<property name="allTypeService" ref="allTypeService"/>
( r- u" Z- x u </bean>6 P; z$ |' ]3 z6 x
<bean id="allTypeService" class="org.gz.service.impl.AllTypeServiceImpl">
6 d* ~! Y4 C, L' Z <property name="allTypeDao" ref="allTypeDao"/> g/ }6 R. p8 O) X" Y
</bean>
) v; t/ V4 P2 E% n" i- P <bean id="allTypeDao" class="org.gz.dao.impl.AllTypeDaoImpl"/>
0 E9 R; s+ ~$ n' Z; p2 |
1 ?" P8 M! d; L0 n <bean name="/typeItemAction" class="org.gz.struts.action.TypeItemAction">
+ z2 x# c1 z$ U# d <property name="allTypeService" ref="allTypeService"/>& @3 p, }2 y1 n* y" ^* {
</bean>
6 k b: ~; L% }9 Q( A9 K' } <bean name="/fileAction" class="org.gz.struts.action.FileAction">
! j# U0 E! }) Z& C7 Q <property name="fileService" ref="fileService"/>
7 y& Y' O* O" e' v& @7 L </bean>
/ T9 A5 a: \0 k1 p& U2 ~) d <bean id="fileService" class="org.gz.service.impl.FileServiceImpl">, F7 H+ q; H$ j2 h6 ~% p ?; v
<property name="fileDao" ref="fileDao"/>2 Z8 F; T. x: A
</bean>
) s" f$ A! w, m, s, | <bean id="fileDao" class="org.gz.dao.impl.FileDaoImpl"/>: T! u5 A) I+ w- Z" @7 \9 X- R
0 ]) @8 I9 F9 B L c6 z' p <bean name="/newsAction" class="org.gz.struts.action.NewsAction">7 [9 s9 o* _/ m0 N5 j& M0 i
<property name="newsService" ref="newsService"/>- n2 u" A- W6 p1 Q( B1 P$ U; s7 L3 Y
<property name="playService" ref="playService"/>- C/ {+ |( G8 p/ B: z! V2 ~
</bean>& L" S8 X) C2 |8 Y1 ?+ ?' u/ i c4 C
<bean id="newsService" class="org.gz.service.impl.NewsServiceImpl">3 @) S9 t' |6 _' k
<property name="newsDao" ref="newsDao"/>
/ j( I4 u; A$ q N0 ~) r </bean>7 ~ k; p- N9 i5 p8 W# s2 j: N
<bean id="newsDao" class="org.gz.dao.impl.NewsDaoImpl"/>1 ^* f: @8 W- U% {7 b
3 s/ ^+ H. C8 a0 W; J: |
<bean name="/registAction" class="org.gz.struts.action.RegistAction">7 L: H. { T" D: e( y% j L
<property name="registService" ref="registService"/>% k2 j+ s+ h) P
<property name="playService" ref="playService"/>3 ?) e6 C2 G4 \4 d8 o9 U
</bean># H) N5 I0 j, V; B& B
<bean id="registService" class="org.gz.service.impl.RegistServiceImpl"> f1 V6 | |* F0 o
<property name="registDao" ref="registDao"/>
; D5 j- [: j; B7 `0 s* x. ~ </bean>
9 n, g4 Q2 S$ j7 u1 K) K <bean id="registDao" class="org.gz.dao.impl.RegistDaoImpl"/>
; u. ~2 u( ^+ W( r% E5 s3 ^6 b</beans>
4 ?+ n! H' E$ {! y7 Q/ \7 M
7 ^) |" W. `6 l/ t* u, {) ]" l2 c. O& k4 k
|
|