科帮网

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

动态微博

查看: 1504|回复: 0

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

[复制链接]

2

主题

0

听众

203

金钱

三袋弟子

该用户从未签到

跳转到指定楼层
楼主
发表于 2018-12-10 21:34:33 |只看该作者 |倒序浏览
本帖最后由 xiaogu 于 2018-12-23 17:30 编辑 ' F( j+ l& C3 w5 K( {' i9 d' p
# ~! D$ l9 {( y
Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]! M+ i9 I5 n" z
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
5 W- \6 P1 g5 y7 t9 A% J/ ]求帮助这是代码https://pan.baidu.com/s/1KovJpL1Y236-J8Wf4RfbVA配置文件
( ^6 |$ x$ S3 u8 R* v<?xml version="1.0" encoding="UTF-8"?>
6 ]% J4 m% n0 R2 H+ Q<beans xmlns="http://www.springframework.org/schema/beans"
( x  g: a5 O3 D" e5 J2 J        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 c2 C9 _4 S# D1 Q4 s$ X; c, N        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">. c8 ^6 d% K% ~: G
' K1 A5 q- C* E* m6 `' H# W! N
        <bean name="/playAction" class="org.gz.struts.action.PlayAction">
7 |, u4 ~3 c' ?# B                <property name="playService" ref="playService" />5 I. F6 G+ k8 l/ X1 {2 b
        </bean>* u# I2 `, X# ~5 L
        <bean id="playService"
+ h- M0 A, K# c* F# c3 }' A9 P! K% h                class="org.gz.service.impl.PlayServiceImpl">8 a/ a( J1 X: ?/ |; K! J
                <property name="playDao" ref="playDao" />
6 J. {5 |1 m& N( X/ v' I        </bean>/ m: H  j/ k6 E1 u5 F; G* `2 H
        <bean id="playDao" class="org.gz.dao.impl.PlayDaoImpl" />& @/ i$ }6 k5 k9 |- q! ]+ l

. q7 ^2 G# ]1 L* c4 h: A9 y& s        <bean name="/userAction" class="org.gz.struts.action.UserAction">( u- d. u- h) b" u; W
                <property name="userService" ref="userService" />2 X3 K6 K+ Z9 X' K8 ^
                <property name="allTypeService" ref="allTypeService"/>
. L& K. K/ E+ t5 G& b        </bean>/ c5 m6 `) `) K1 e7 r, w
        <bean id="userService"+ E" T0 X7 {; f8 S' {. c
                class="org.gz.service.impl.UserServiceImpl">, `9 [2 q3 W0 j  J& m4 {$ P4 J
                <property name="userDao" ref="userDao" />/ b8 |+ e  M4 U
        </bean>& e4 _, \9 H; i" G( d0 `$ g+ `1 D
        <bean id="userDao" class="org.gz.dao.impl.UserDaoImpl" />
; G8 Y* K0 F7 ?* X       
7 a( s. w% M) j+ F6 m, _        <bean name="/typeAction" class="org.gz.struts.action.TypeAction">
$ J; p4 {7 H9 d2 }. y           <property name="allTypeService" ref="allTypeService"/>
- a' O/ V4 D. B2 B        </bean>
5 R8 i7 g  h2 h  D' w        <bean id="allTypeService" class="org.gz.service.impl.AllTypeServiceImpl">
) l* E  p9 L* Z4 o: g" D. w           <property name="allTypeDao" ref="allTypeDao"/>% X% l  ]2 x# H5 L# h7 l
        </bean>
8 F" A* W3 D/ {. I9 N        <bean id="allTypeDao" class="org.gz.dao.impl.AllTypeDaoImpl"/>
8 V$ Y3 `3 m# h2 _       
9 u; k/ F- j- o4 q        <bean name="/typeItemAction" class="org.gz.struts.action.TypeItemAction">
) k% k% [# z. F% S; ]0 P! \( Q           <property name="allTypeService" ref="allTypeService"/>7 z6 i) f8 f4 P; ]. x& E  z. C
        </bean>
: k: s5 G) h9 @6 C% @7 k    <bean name="/fileAction" class="org.gz.struts.action.FileAction">
4 j" Y6 _" E! ^) K5 H9 A       <property name="fileService" ref="fileService"/>
4 ?8 X6 G7 b, {" I    </bean>
9 K: @1 s# v. t: F$ t    <bean id="fileService" class="org.gz.service.impl.FileServiceImpl">3 {1 h0 `& I7 e& H4 u
       <property name="fileDao" ref="fileDao"/>
, S3 y9 [5 ?; \. l2 }+ O/ p! R" p    </bean>
! M% f4 E( u8 `, F, B  _2 ^/ p    <bean id="fileDao" class="org.gz.dao.impl.FileDaoImpl"/>+ q$ z- o+ i  b5 c, f; Q/ K! K
0 p. M' |' ~; G' d) Q
    <bean name="/newsAction" class="org.gz.struts.action.NewsAction">3 [9 N, j; S/ t
       <property name="newsService" ref="newsService"/>9 e8 X! `) R, x
       <property name="playService" ref="playService"/>8 u( N. J0 J! {4 N- B
    </bean>2 x9 x% e8 K; K0 _% P' n
    <bean id="newsService" class="org.gz.service.impl.NewsServiceImpl">5 m1 d- l6 {; |
       <property name="newsDao" ref="newsDao"/>
% E( k- P- z# E3 f) Y    </bean>
' V/ P* K0 h/ n    <bean id="newsDao" class="org.gz.dao.impl.NewsDaoImpl"/>( P* j9 X  \* o% \% N4 Q5 z
; ]3 h# L! {; _4 _
    <bean name="/registAction" class="org.gz.struts.action.RegistAction">7 P0 I, Q6 _  @1 P/ }3 j, ]
       <property name="registService" ref="registService"/>5 t) t, G1 w2 W1 p
       <property name="playService" ref="playService"/>4 O" h* s" @3 k' Y/ y
    </bean>
) @1 h0 f; e7 j  g. p    <bean id="registService" class="org.gz.service.impl.RegistServiceImpl">+ Z" D* l: _6 f  G! |$ k
       <property name="registDao" ref="registDao"/>
8 B4 b' M7 ]9 K1 ^0 l    </bean>
) i) x. g' \/ j3 d7 x    <bean id="registDao" class="org.gz.dao.impl.RegistDaoImpl"/>
% _3 R7 n; a& _, G, L6 G5 B) G</beans>) C' B- L. r' o: ]# l

! }2 R5 l4 s- @# j

9 ~# C7 z$ {1 J7 @- Q' D

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


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

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

   

关闭

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

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