frameset 404 异常

Dark-C 发布于 2014/04/12 16:38
阅读 421
收藏 0

工程需要 将之前使用过的birt 报表工具移植到现工程 struts+spring+ibates

工程环境:Eclipse+tomcat  maven ,birt版本3.7.1

部署 启动无异常,写个简单.rptdesign文件 用于测试,

一、使用iframe src="" 方式 页面异常展示404错误:

二、使用birt标签 异常如下:

- Fatal error occurred when try to startup report engine.

org.eclipse.birt.report.exception.ViewerException: Fatal error occurred when try to startup report engine.

	at org.eclipse.birt.report.service.ReportEngineService.setEngineContext(ReportEngineService.java:342)

	at org.eclipse.birt.report.service.BirtViewerReportService.setContext(BirtViewerReportService.java:1022)

	at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(ViewerServlet.java:148)

	at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(BirtSoapMessageDispatcherServlet.java:151)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)

	at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

	at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

	at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

	at com.ailk.base.df.ContentTypeFilter.doFilter(ContentTypeFilter.java:39)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)

	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)

	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)

	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)

	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)

	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)

	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394)

	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)

	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)

	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)

	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)

	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

	at java.lang.Thread.run(Thread.java:662)


以上两个问题的请朋友 帮忙解决下 谢谢~~!很急

birt 配置信息如下:

1、在页面中采用<iframe src="">方式加载如下:

1-1标签方式:

<birt:viewer id="first"
reportDesign="ccFirstReport.rptdesign"
position="absolute"
width="800"
height="600"
left="50"
top="50"
format="html"
>

2、web.xml 配置如下:

3、birt 报表中文件位置:


加载中
返回顶部
顶部