科帮网

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

动态微博

查看: 1500|回复: 0

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

[复制链接]

2

主题

0

听众

203

金钱

三袋弟子

该用户从未签到

跳转到指定楼层
楼主
发表于 2018-12-10 21:34:33 |只看该作者 |倒序浏览
本帖最后由 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

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


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

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

   

关闭

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

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