首页上一页 1 下一页尾页 1 条记录 1/1页
关于“视频学JavaWeb”一书的项目开发实战B“在线音乐模块”的问题
发表在JavaWeb图书答疑
2010-06-30
是否精华
是
否
版块置顶:
是
否
您好:
“视频学JavaWeb”书最后的项目开发实战--------“在线音乐模块”我无法运行成功,出现了许多错误。该导入的包都导入了,可是出现了下列
错误:
严重: Servlet.service() for servlet action threw exception
javax.servlet.UnavailableException: Cannot initialize RequestProcessor of class com.action.SelfRequestProcessor: java.lang.ClassNotFoundException: com.action.SelfRequestProcessor
at org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServlet.java:595)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
2010-6-30 11:23:54 org.apache.catalina.core.ApplicationContext log
信息: Marking servlet action as unavailable
错误:
<div id="search">
<jsp:include page="song.do" flush="true">
<jsp:param name="action" value="songType"/>
</jsp:include>
</div>
错误提示:Multiple annotations found at this line:
- Fragment "song.do" was not found at expected path /Music_Online/WebRoot/song.do
错误:<jsp:include page="adm_copyright.jsp"/>
为什么无法包含版权页面,而使用<%@include file="adm_copyright.jsp"%>就可以显示出来?
版权页面如下:
<%@ page contentType="text/html; charset=gb2312" language="java"%>
<div id="copyright">
<ul>
<li> 首页 | 流行金曲 | 经典老歌 | 欧美经典 | 校园民谣 | 联系我们 | 编程词典网 | 明日图书网 | 明日科技主站 | <a href="logout.jsp">退出后台</a></li>
<li>技术服务热线:400-675-1066 传真:0431-84972266 </li>
<li>
公司地址:吉林省长春市亚泰广场C座 欢迎致电来函</li>
<li>Copyright © www.mrbccd.com All Rights Reserved! </li>
</ul>
</div>
最后:我感觉书里面给的项目原程序不全,有问题,请高手指教,能给个完整的正确的源代码最好,谢谢!!
“视频学JavaWeb”书最后的项目开发实战--------“在线音乐模块”我无法运行成功,出现了许多错误。该导入的包都导入了,可是出现了下列
错误:
严重: Servlet.service() for servlet action threw exception
javax.servlet.UnavailableException: Cannot initialize RequestProcessor of class com.action.SelfRequestProcessor: java.lang.ClassNotFoundException: com.action.SelfRequestProcessor
at org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServlet.java:595)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
2010-6-30 11:23:54 org.apache.catalina.core.ApplicationContext log
信息: Marking servlet action as unavailable
错误:
<div id="search">
<jsp:include page="song.do" flush="true">
<jsp:param name="action" value="songType"/>
</jsp:include>
</div>
错误提示:Multiple annotations found at this line:
- Fragment "song.do" was not found at expected path /Music_Online/WebRoot/song.do
错误:<jsp:include page="adm_copyright.jsp"/>
为什么无法包含版权页面,而使用<%@include file="adm_copyright.jsp"%>就可以显示出来?
版权页面如下:
<%@ page contentType="text/html; charset=gb2312" language="java"%>
<div id="copyright">
<ul>
<li> 首页 | 流行金曲 | 经典老歌 | 欧美经典 | 校园民谣 | 联系我们 | 编程词典网 | 明日图书网 | 明日科技主站 | <a href="logout.jsp">退出后台</a></li>
<li>技术服务热线:400-675-1066 传真:0431-84972266 </li>
<li>
公司地址:吉林省长春市亚泰广场C座 欢迎致电来函</li>
<li>Copyright © www.mrbccd.com All Rights Reserved! </li>
</ul>
</div>
最后:我感觉书里面给的项目原程序不全,有问题,请高手指教,能给个完整的正确的源代码最好,谢谢!!