科帮网

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

动态微博

查看: 1502|回复: 0

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

[复制链接]

2

主题

0

听众

203

金钱

三袋弟子

该用户从未签到

跳转到指定楼层
楼主
发表于 2018-12-10 21:34:33 |只看该作者 |正序浏览
本帖最后由 xiaogu 于 2018-12-23 17:30 编辑 1 l3 S+ K( C& C  {4 x
+ n6 H; ?7 V) W8 A
Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]0 f8 ~0 W& o- t2 f7 h6 x" t7 ]' C
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.PlayAction9 P  P" @4 _2 L; C
求帮助这是代码https://pan.baidu.com/s/1KovJpL1Y236-J8Wf4RfbVA配置文件
6 C1 ?' e& p: \% P+ x# C<?xml version="1.0" encoding="UTF-8"?>
( i% G: s( k0 k& I1 B2 J<beans xmlns="http://www.springframework.org/schema/beans"
# R3 Q# d0 w* B% ]& o) L        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"$ x$ Y! m1 K  p) U
        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">2 d. y+ R- M( E: D# B

: K( T6 G; ?1 _# d        <bean name="/playAction" class="org.gz.struts.action.PlayAction">1 E# @6 _& M3 F) E7 B. D
                <property name="playService" ref="playService" />  x7 A* d' H8 L
        </bean>
$ h* N3 z; t8 \( m4 R5 Q        <bean id="playService"
* [, @+ L" N5 L3 K                class="org.gz.service.impl.PlayServiceImpl">( F( |; l/ J5 E3 P
                <property name="playDao" ref="playDao" />
4 `  i5 c/ X2 G8 C/ ]        </bean>' d) U* ~: o& q* @& F0 t6 o
        <bean id="playDao" class="org.gz.dao.impl.PlayDaoImpl" />
) a4 h8 J: M- x" C  k9 c6 ~1 g( x/ O9 J* O& }  ^" w
        <bean name="/userAction" class="org.gz.struts.action.UserAction">! D+ J3 q( Z  G0 q
                <property name="userService" ref="userService" />* w5 S4 z& W: Y5 |5 @
                <property name="allTypeService" ref="allTypeService"/>' w/ {/ B3 Y( v
        </bean>& ?' O, _9 g5 i6 K- e4 ?& [/ W) l2 l
        <bean id="userService"/ O1 P0 f( S; E* z/ E* E# Y& M
                class="org.gz.service.impl.UserServiceImpl">  D- K3 t3 C+ I: Q: a" c( g
                <property name="userDao" ref="userDao" />
7 U5 F. J$ _1 K2 \4 e& L; \4 h; T        </bean>; ~) `: V1 }( `
        <bean id="userDao" class="org.gz.dao.impl.UserDaoImpl" />! L; }" c& L! a6 {* m
        8 [$ \$ E# l) ^! G
        <bean name="/typeAction" class="org.gz.struts.action.TypeAction">
' a4 s/ F3 C( s           <property name="allTypeService" ref="allTypeService"/>
0 d4 S5 ?" \  V0 Q% y- f0 \( }        </bean>
. v# O6 n% Y# L: n        <bean id="allTypeService" class="org.gz.service.impl.AllTypeServiceImpl">! l2 C, n# K1 w0 D6 U+ O( W
           <property name="allTypeDao" ref="allTypeDao"/>
( X+ B* E/ n6 M3 k# r& }        </bean>$ k: \9 @9 I3 v6 N9 M% i# {
        <bean id="allTypeDao" class="org.gz.dao.impl.AllTypeDaoImpl"/>
% K! J. E  J4 G6 l  a8 C        " I( f$ v4 w* @$ {0 h6 ?- _% r
        <bean name="/typeItemAction" class="org.gz.struts.action.TypeItemAction">$ Y" X. \6 \. l# c1 u
           <property name="allTypeService" ref="allTypeService"/>
7 j( h9 A$ A+ k! Y( v& U        </bean>  s9 {9 S' N0 y4 G
    <bean name="/fileAction" class="org.gz.struts.action.FileAction">  R, @- f: N% b8 E2 ?+ i
       <property name="fileService" ref="fileService"/>9 I  {9 G+ F1 d- N3 h- M
    </bean>/ {+ A0 i! |5 m
    <bean id="fileService" class="org.gz.service.impl.FileServiceImpl"># e* P; h, |- r+ l0 J+ M
       <property name="fileDao" ref="fileDao"/>
4 @2 w( a% e) l0 Z    </bean>
: Z7 S, M- p4 r$ i: W: t    <bean id="fileDao" class="org.gz.dao.impl.FileDaoImpl"/>7 q" d+ F- C6 v; c, v4 G! i- d! I$ {" @
% K7 Z: _5 c7 Y
    <bean name="/newsAction" class="org.gz.struts.action.NewsAction">7 n; D: G. p' Y8 ^6 ~7 r' ?6 H
       <property name="newsService" ref="newsService"/>
) r" e, S3 o' m3 ^! \7 K       <property name="playService" ref="playService"/>
) S/ P: M+ ]  |; H: ~    </bean>6 i9 Q+ i! e3 ^- a/ j; N
    <bean id="newsService" class="org.gz.service.impl.NewsServiceImpl">( _( z2 L% l) X' w
       <property name="newsDao" ref="newsDao"/>
! M* t7 t8 W  s0 M' D# O4 m, ]    </bean>3 p9 |8 N6 J" f6 X
    <bean id="newsDao" class="org.gz.dao.impl.NewsDaoImpl"/>
. U7 S. f1 v$ x8 S+ b: ?
; D: o, ^8 Z; e7 y8 i    <bean name="/registAction" class="org.gz.struts.action.RegistAction">3 R, I! i% m/ c9 E
       <property name="registService" ref="registService"/>
# `& ?8 ]: q- u5 t3 w' B4 X       <property name="playService" ref="playService"/># u- m) J9 A5 ]8 C
    </bean>
2 [1 ^/ ^) u7 b    <bean id="registService" class="org.gz.service.impl.RegistServiceImpl">
! H1 L% b, E% D5 F( M  e       <property name="registDao" ref="registDao"/>; R- @" F8 T$ F! W6 N
    </bean>
+ ^1 w$ E# U3 X  N    <bean id="registDao" class="org.gz.dao.impl.RegistDaoImpl"/>' N* a; z7 r9 ^  X, S
</beans>
5 n5 [# U: Y+ W$ x" j. [
, q& ]. S+ z6 ]( |4 f: w; L0 N

. _$ ?7 J: X0 ]" g

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


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

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

   

关闭

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

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