首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

FineReport集成到SSH框架下时提示无法找到ReportServer解决方案

2012-04-17 
FineReport集成到SSH框架下时提示无法找到ReportServer我在lib下已经加载了fr-server-6.2.jar包,也已经把F

FineReport集成到SSH框架下时提示无法找到ReportServer
我在lib下已经加载了fr-server-6.2.jar包,也已经把FineReport下的class、reportlets、resources文件全部考到了我的项目文件WEB-INF下,web.xml已经配置了servlet,配置如下: <servlet>
  <servlet-name>ReportServer</servlet-name>
  <servlet-class>com.fr.web.ReportServlet</servlet-class>
  <load-on-startup>0</load-on-startup>
 </servlet>
 <servlet-mapping>
  <servlet-name>ReportServer</servlet-name>
  <url-pattern>/ReportServer</url-pattern>
 </servlet-mapping>
运行http://localhost:8888/ukingreport/ReportServer?op=fr_platform后前台提示:
Stacktraces

There is no Action mapped for namespace / and action name ReportServer. - [unknown location]
  com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178)
  org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61)
  org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
  com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47)
  org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:478)
  org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
  org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
  org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  java.lang.Thread.run(Thread.java:619)
后台提示错误:2012-03-03 11:40:38671 ERROR Dispatcher:27 - Could not find action or result
There is no Action mapped for namespace / and action name ReportServer. - [unknown location]
请高手们给个解决方案啊,先谢谢大家了啊,有什么不明白的可以留言啊

[解决办法]
帮顶....

热点排行