科帮网

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

动态微博

查看: 1501|回复: 0

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

[复制链接]

2

主题

0

听众

203

金钱

三袋弟子

该用户从未签到

跳转到指定楼层
楼主
发表于 2018-12-10 21:34:33 |只看该作者 |倒序浏览
本帖最后由 xiaogu 于 2018-12-23 17:30 编辑 2 Y5 }0 {2 Q) z5 q
0 B% @& k" v. ^$ R, n5 C
Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
# K. _0 }, Q- ~' korg.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; ^2 t( O8 {5 {+ g7 a
求帮助这是代码https://pan.baidu.com/s/1KovJpL1Y236-J8Wf4RfbVA配置文件
* j- F& p! D1 U) n3 t- {9 B# H4 K<?xml version="1.0" encoding="UTF-8"?>/ d8 y' G+ m! t# r
<beans xmlns="http://www.springframework.org/schema/beans"4 q2 b7 o/ b, f" B5 E5 Z# F# A3 z
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7 u& e; `" H/ g1 k; W$ b' J& h) D7 ^* @        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">$ M  p! O, _# T6 o0 q& i
) X1 e" E6 U- ?4 A) S$ l" G
        <bean name="/playAction" class="org.gz.struts.action.PlayAction">7 \. k( E( w: B5 c  n3 s, f& j' a
                <property name="playService" ref="playService" />
, C& o5 W9 L" d        </bean>
* Y- O6 `; ^  D; d+ d3 A( I& q        <bean id="playService"" |* V2 {" _7 O- |/ K; \
                class="org.gz.service.impl.PlayServiceImpl">: g$ U& c- T' j0 w3 v' B2 R) _
                <property name="playDao" ref="playDao" />
4 B1 W- |% b% u( y) p, |( a( P        </bean>
5 c( o* W' q$ ]1 b        <bean id="playDao" class="org.gz.dao.impl.PlayDaoImpl" />% A$ p' `* r$ `3 H  k+ Z

& Q( j& H5 V( ^; M1 E, [        <bean name="/userAction" class="org.gz.struts.action.UserAction">. X$ ^# Q8 t& S# s; n. J
                <property name="userService" ref="userService" />
5 D$ y: P1 j. E& F% h8 q8 G/ _                <property name="allTypeService" ref="allTypeService"/>3 b. x  G3 w- ~: V6 v9 j
        </bean>- O" k% }  P) T7 d. h% Y0 H8 B& e
        <bean id="userService"
. P& I# m" K- e6 n& f                class="org.gz.service.impl.UserServiceImpl">. ]+ d2 V5 u9 Z5 G- S- N
                <property name="userDao" ref="userDao" />
/ K/ Y- y/ p, U  R3 c        </bean>' w& f9 W) U5 y) c7 s+ d/ o
        <bean id="userDao" class="org.gz.dao.impl.UserDaoImpl" />$ E0 V6 k5 ^/ j
       
% p# y6 \$ l* x. a1 f5 L        <bean name="/typeAction" class="org.gz.struts.action.TypeAction">
/ Y: |; B0 q* c* h5 _4 s; F           <property name="allTypeService" ref="allTypeService"/>; r7 C3 j$ f2 _# }7 H
        </bean>
! @& |8 L2 e) N" Q' }  h        <bean id="allTypeService" class="org.gz.service.impl.AllTypeServiceImpl">: Z5 ^- L" ^& O& R8 M0 K
           <property name="allTypeDao" ref="allTypeDao"/>+ _8 ^# ^6 r: n; a; Z
        </bean>
) P  K8 R+ t; E$ j5 y% F7 b        <bean id="allTypeDao" class="org.gz.dao.impl.AllTypeDaoImpl"/>
/ {8 N6 f; W; Y       
+ N! e  L4 U: z  T! R        <bean name="/typeItemAction" class="org.gz.struts.action.TypeItemAction">$ z3 s$ }0 j( ]3 q5 _
           <property name="allTypeService" ref="allTypeService"/>2 J8 D! m" g" b
        </bean>
7 J- m) o2 \7 h! l/ @    <bean name="/fileAction" class="org.gz.struts.action.FileAction">
/ F0 q" D6 _& |6 B       <property name="fileService" ref="fileService"/>* B+ ?9 O3 F( U! S, g
    </bean>3 K) E9 e* u& a2 k
    <bean id="fileService" class="org.gz.service.impl.FileServiceImpl">4 A# j6 G3 i, n' M9 j
       <property name="fileDao" ref="fileDao"/>+ S6 d4 b: j9 p, l% h" N$ Y
    </bean>
6 s1 j" c+ c( @$ [5 s8 F* D    <bean id="fileDao" class="org.gz.dao.impl.FileDaoImpl"/>
" E3 s9 t& @* X$ D% m9 o
! K0 L: H% _# i6 e: w, h2 m    <bean name="/newsAction" class="org.gz.struts.action.NewsAction">
. g" F9 ?/ Y) N# G       <property name="newsService" ref="newsService"/># C0 Y0 }4 m6 m& d/ U: U
       <property name="playService" ref="playService"/>
& c, l' @2 H& ~; `) r: u+ l    </bean>
) a0 J- X; u' h  ~% e0 w    <bean id="newsService" class="org.gz.service.impl.NewsServiceImpl">
. D3 K4 g& I+ ~1 C       <property name="newsDao" ref="newsDao"/>" E+ K1 W: N! x6 l+ W6 }& X0 X
    </bean>+ c; |4 L1 ~8 o
    <bean id="newsDao" class="org.gz.dao.impl.NewsDaoImpl"/>" z1 i. W$ Q# y( \6 r- ?, e1 c

( S5 O0 X0 v  u  q$ H- w' ?    <bean name="/registAction" class="org.gz.struts.action.RegistAction">
" h! y$ [4 f9 [+ J       <property name="registService" ref="registService"/>
8 s1 z8 Q- `$ S3 @  J2 j4 P       <property name="playService" ref="playService"/>
! m) L+ O+ r: ~7 \8 G- E8 l    </bean>  \0 O+ `4 V- r' |: c, J
    <bean id="registService" class="org.gz.service.impl.RegistServiceImpl">
+ m1 D  T; n5 V       <property name="registDao" ref="registDao"/>
3 S- H) O/ j. ]* W2 F! `* k" n    </bean>" D' R& h& f4 Z; f* V( _3 G
    <bean id="registDao" class="org.gz.dao.impl.RegistDaoImpl"/>
& R& F! R8 M+ S/ D' q' l$ h% k</beans>& L/ _/ B/ `, ]# C0 a$ B
8 i( t" w5 u* L9 P5 i

0 B' \  g, Q$ n9 H9 J5 C8 O. h

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


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

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

   

关闭

站长推荐上一条 /1 下一条

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