发表时间:2011-03-23
最后修改:2011-03-23
ireport 做 导出图表时遇到的错误信息
1、java.lang.NoClassDefFoundError: Lorg/jfree/chart/plot/PlotOrientation;
--解决方法
:导入包jfreechart 1.0.12.jar
2、java.lang.NoClassDefFoundError: org/jfree/util/PublicCloneable
--解决方法
:导入包jcommon-1.0.15.jar
---------------------------
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/jfree/util/PublicCloneable
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:389)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
3、net.sf.jasperreports.engine.JRRuntimeException: No query executer factory registered for the 'plsql' language.
at net.sf.jasperreports.engine.util.JRQueryExecuterUtils.getQueryExecuterFactory(JRQueryExecuterUtils.java:63)
at net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:680)
at net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:605)
at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1281)
解:plsql 没有注册,解决办法暂时没有弄好,但是我把jasper文件改成了"sql" 查询,是可以的。