首页上一页 1 下一页尾页 2 条记录 1/1页
1个很着急的问题,快来帮我呀
发表在JavaWeb图书答疑
2010-04-24
是否精华
是
否
版块置顶:
是
否
我是模仿javaweb开发典型模块大全里第14章420页的例子写的1句代码JasperCompileManager.compileReportToFile(application.getRealPath("/reports/testbaobiao.jrxml"),application.getRealPath("/reports/testbaobiao.jasper"));
但是报错javax.servlet.ServletException: net.sf.jasperreports.engine.design.JRValidationException: Report design not valid :
1. Warning : Element bottom reaches outside band area : y=19 height=46 band-height=30
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:852)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
org.apache.jsp.jsp.compile_jsp._jspService(compile_jsp.java:97)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
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)
请问为什么
但是报错javax.servlet.ServletException: net.sf.jasperreports.engine.design.JRValidationException: Report design not valid :
1. Warning : Element bottom reaches outside band area : y=19 height=46 band-height=30
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:852)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
org.apache.jsp.jsp.compile_jsp._jspService(compile_jsp.java:97)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
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)
请问为什么