|
Java學习者論坛
遇到一个問题,用jfreechart生成2D柱状图是出错,請高人帮看看错误信息,怎么解决啊?
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 4 in the jsp file: /BarChart2D.jsp
BarChart2D cannot be resolved
1: <%@ page language="java" contentType="text/HTML;charset=gb2312" %>
2: <%@ page import="beans.chart.,java.io." %>
3: <%
4: String filename = BarChart2D.generateBarChart(session,new PrintWriter(out));
5: String graphURL = request.getContextPath() + "/Servlet/DisplayChart?filename=" + filename;
6: %>
7: <html>
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:326)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
bks7839353 于 2011-9-9 下午4:13 修改过
欢迎来到Java学习者論坛,转载請注明地址:http://www.javaxxz.com. |
|