birt2.6.1 部署到WebSphere出现错误,求解决方案
报错信息如下:0000003c ServletWrappe E SRVE0068E: 无法调用 servlet EngineServlet 的 service() 方法。抛出异常:java.lang.IllegalAccessError: org.mozilla.javascript.CompilerEnvirons: trying to access class org/mozilla/javascript/DefaultErrorReporter
at org.mozilla.javascript.CompilerEnvirons.<init>(CompilerEnvirons.java:44)
at org.eclipse.birt.core.data.ExpressionParserUtility.parse(ExpressionParserUtility.java:186)
at org.eclipse.birt.core.data.ExpressionParserUtility.compileColumnExpression(ExpressionParserUtility.java:82)
at org.eclipse.birt.core.data.ExpressionUtil.extractColumnExpressions(ExpressionUtil.java:175)
at org.eclipse.birt.core.data.ExpressionUtil.extractColumnExpressions(ExpressionUtil.java:137)
at org.eclipse.birt.report.model.parser.CompatibleMiscExpressionState.setupBoundDataColumns(CompatibleMiscExpressionState.java:158)
at org.eclipse.birt.report.model.parser.CompatibleMiscExpressionState.end(CompatibleMiscExpressionState.java:92)
at org.eclipse.birt.report.model.util.XMLParserHandler.endElement(XMLParserHandler.java(Compiled Code))
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.birt.report.model.parser.ModuleReader.readModule(ModuleReader.java:90)
at org.eclipse.birt.report.model.parser.DesignReader.read(DesignReader.java:90)
at org.eclipse.birt.report.model.core.DesignSession.openDesign(DesignSession.java:278)
at org.eclipse.birt.report.model.api.SessionHandle.openDesign(SessionHandle.java:291)
at org.eclipse.birt.report.engine.parser.ReportParser.getDesignHandle(ReportParser.java:160)
at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:243)
at org.eclipse.birt.report.engine.api.impl.ReportEngine.openReportDesign(ReportEngine.java:468)
at org.eclipse.birt.report.service.ReportEngineService.openReportDesign(Unknown Source)
at org.eclipse.birt.report.context.ViewerAttributeBean.getDesignHandle(Unknown Source)
at org.eclipse.birt.report.context.ViewerAttributeBean.__initParameters(Unknown Source)
at org.eclipse.birt.report.context.ViewerAttributeBean.__init(Unknown Source)
at org.eclipse.birt.report.context.BaseAttributeBean.init(Unknown Source)
at org.eclipse.birt.report.context.ViewerAttributeBean.<init>(Unknown Source)
at org.eclipse.birt.report.context.BirtContext.__init(Unknown Source)
at org.eclipse.birt.report.context.BaseContext.<init>(Unknown Source)
at org.eclipse.birt.report.context.BirtContext.<init>(Unknown Source)
at org.eclipse.birt.report.servlet.BirtEngineServlet.__getContext(Unknown Source)
at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1173)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:69)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:626)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
http://localhost:9080/birt/index.jsp 可以打开,但是View Example 却打不开任何页面。
环境为:JDK1.4, BIRT2.6.1, WebSphere5.1.0
困扰好几天了,敬请各位指教。
--------------------编程问答--------------------
补充:企业软件 , WebSphere