科帮网-Java论坛、Java社区、JavaWeb毕业设计

登录/注册
您现在的位置:论坛 盖世程序员(我猜到了开头 却没有猜到结局) 盖世程序员 > 求助,这个项目在myeclipse吧部署后报错
总共48086条微博

动态微博

查看: 1121|回复: 0

求助,这个项目在myeclipse吧部署后报错

[复制链接]

2

主题

0

听众

203

金钱

三袋弟子

该用户从未签到

跳转到指定楼层
楼主
发表于 2018-12-10 21:34:33 |只看该作者 |倒序浏览
本帖最后由 xiaogu 于 2018-12-23 17:30 编辑
/ p2 O3 z+ k9 d4 O( F4 @! N
: m5 A7 r' g- c' OException sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]& h2 Y' E% C# `( @0 ]5 \
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" C% m' W! H/ C* N& A: M0 ~
求帮助这是代码https://pan.baidu.com/s/1KovJpL1Y236-J8Wf4RfbVA配置文件
% k4 O$ [. g( ^2 _& n) Q3 B<?xml version="1.0" encoding="UTF-8"?>
+ K1 v. L; L2 m" K% W) H( e<beans xmlns="http://www.springframework.org/schema/beans"
7 S2 ~3 c) p* m! Z. u1 S' u        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
: V" d- {' L! x$ H% o3 h9 H* ?( I% c        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
3 H4 t3 U. B; t9 G; P' f
, |% {+ e6 e1 {: E. j) j+ i7 z+ ?        <bean name="/playAction" class="org.gz.struts.action.PlayAction">
! J. i  `( P1 Y$ t( ~1 t# M6 E& N                <property name="playService" ref="playService" />
. ]! o' f  t- }- d8 w$ r! z& S& B5 |        </bean>; B2 ]/ Y2 `# S* H# {: \2 B
        <bean id="playService", Q5 u# x/ d7 T/ a5 }3 R* b
                class="org.gz.service.impl.PlayServiceImpl">: d" _/ G5 m* a
                <property name="playDao" ref="playDao" />  O: _6 I9 j$ v
        </bean>, v4 A" N0 ~2 t* Y' }/ W
        <bean id="playDao" class="org.gz.dao.impl.PlayDaoImpl" />+ O& j* m% m/ N4 y9 E/ `2 q

  ~6 e4 q, h6 N$ w        <bean name="/userAction" class="org.gz.struts.action.UserAction">
% U+ v* Z* l# m                <property name="userService" ref="userService" />
! m; u; q3 H! O7 R4 h$ F                <property name="allTypeService" ref="allTypeService"/>
# ]. K" B7 x/ ~- O4 z: M# a# s        </bean>
2 {5 a8 E4 `1 e% N# v        <bean id="userService", r4 `% w  b; \$ T
                class="org.gz.service.impl.UserServiceImpl">7 f( q! L& N. d" Q# \( o
                <property name="userDao" ref="userDao" />
. a7 `. x: t; m$ P5 f0 v, x        </bean>2 s, \$ ?3 e% I' Q
        <bean id="userDao" class="org.gz.dao.impl.UserDaoImpl" />
- I5 A& ?0 F* z' P6 V        5 ]9 {$ ^; q7 S' v. W, r
        <bean name="/typeAction" class="org.gz.struts.action.TypeAction">
5 e& }3 H. Q; @# e' f           <property name="allTypeService" ref="allTypeService"/>
- {- `0 W- {0 o4 y( R$ c        </bean>, G, t: a- t+ y1 o9 w' f4 k
        <bean id="allTypeService" class="org.gz.service.impl.AllTypeServiceImpl">0 c9 V3 Q; A( W9 ^% n& o
           <property name="allTypeDao" ref="allTypeDao"/>5 C' s5 `+ \  X
        </bean>
0 t# y8 u% `, h  B        <bean id="allTypeDao" class="org.gz.dao.impl.AllTypeDaoImpl"/>; ^6 e9 {9 C, ~
       
7 [1 {) q1 T, S- M5 B  _        <bean name="/typeItemAction" class="org.gz.struts.action.TypeItemAction">8 G7 [( R) u5 z: ?
           <property name="allTypeService" ref="allTypeService"/>- [7 S- P2 u& }( r; W# l
        </bean>
  R% U6 m7 N3 {. H    <bean name="/fileAction" class="org.gz.struts.action.FileAction">
' g  S# t+ S3 _& V3 ?- Q# y& j9 Z       <property name="fileService" ref="fileService"/>9 G& L% {% g* O
    </bean>! {7 F' _3 B, q, ]. ~
    <bean id="fileService" class="org.gz.service.impl.FileServiceImpl">5 k2 T9 o6 p" q
       <property name="fileDao" ref="fileDao"/>
" _9 g2 y$ @( N/ E) r8 H% R    </bean>, _. I/ N' H6 J
    <bean id="fileDao" class="org.gz.dao.impl.FileDaoImpl"/>( w3 [. y& a4 F" q

- f6 m5 K& a$ j) u    <bean name="/newsAction" class="org.gz.struts.action.NewsAction">
5 n: U2 i9 S% D$ g- L       <property name="newsService" ref="newsService"/>3 [) a/ f. u3 }4 [5 I9 {0 r
       <property name="playService" ref="playService"/>
0 u# L' T3 q. r    </bean>
5 f* H( j8 f" J& d6 O! u    <bean id="newsService" class="org.gz.service.impl.NewsServiceImpl">+ a. j) T3 o8 i
       <property name="newsDao" ref="newsDao"/>+ N, A( H4 A) j& A( ?9 W
    </bean>
. j4 w8 u  Q$ `& U$ L: A  E( C    <bean id="newsDao" class="org.gz.dao.impl.NewsDaoImpl"/>2 c5 P# J5 ~7 m

; u% T3 r: a3 L) W# V    <bean name="/registAction" class="org.gz.struts.action.RegistAction">
5 B" y& g* c9 R7 L0 g0 |7 [       <property name="registService" ref="registService"/>+ c# t9 H  `8 o+ V! [* E
       <property name="playService" ref="playService"/>3 m; r) K$ p1 \9 ?( T
    </bean>
& @( g8 _3 @3 _, f& u+ r# f* s    <bean id="registService" class="org.gz.service.impl.RegistServiceImpl">
! K. @9 w" k/ C1 F2 r       <property name="registDao" ref="registDao"/>
5 g! d5 @$ A. y  e* D* k    </bean>
" j8 i5 L+ C5 M6 Y$ S. q    <bean id="registDao" class="org.gz.dao.impl.RegistDaoImpl"/>8 W/ E& w- Y: \! I$ b9 b' Q5 |/ ~/ |
</beans>- Z9 ]. @* A7 j. ^) D4 |2 |* t6 Q

2 y( b6 Q( C9 p9 a7 O6 b: O
  W$ r* ~* U0 i- a! u/ f2 o3 C* U

科帮网-Java论坛、Java社区、JavaWeb毕业设计 1、本主题所有言论和图片纯属会员个人意见,与本社区立场无关
2、本站所有主题由该帖子作者发表,该帖子作者与科帮网-Java论坛、Java社区、JavaWeb毕业设计享有帖子相关版权
3、其他单位或个人使用、转载或引用本文时必须同时征得该帖子作者和科帮网-Java论坛、Java社区、JavaWeb毕业设计的同意
4、帖子作者须承担一切因本文发表而直接或间接导致的民事或刑事法律责任
5、本帖部分内容转载自其它媒体,但并不代表本站赞同其观点和对其真实性负责
6、如本帖侵犯到任何版权问题,请立即告知本站,本站将及时予与删除并致以最深的歉意
7、科帮网-Java论坛、Java社区、JavaWeb毕业设计管理员和版主有权不事先通知发贴者而删除本文


JAVA爱好者①群:JAVA爱好者① JAVA爱好者②群:JAVA爱好者② JAVA爱好者③ : JAVA爱好者③

快速回复
您需要登录后才可以回帖 登录 | 立即注册

   

发布主题 快速回复 返回列表 联系我们 官方QQ群 科帮网手机客户端
快速回复 返回顶部 返回列表