Jump to content

install error JASPER3


pcouas

Recommended Posts

Hi,
I tried to deploy jasper3 on tomcat 5.5 JDK 1.5 but i have an compil error, could you help me ?

org.apache.jasper.JasperException: Unable to compile class for JSP:
JSP FileName:null
Java FileName:/usr/local/lib/apache-tomcat-5.5.25/work/Catalina/localhost/jasper204//org/apache/jsp/jsp/compile_jsp.java


An error occurred at line: 7 in the generated java file
Only a type can be imported. net.sf.jasperreports.engine.util.JRProperties resolves to a package
JSP FileName:/jsp/compile.jsp
Java FileName:/usr/local/lib/apache-tomcat-5.5.25/work/Catalina/localhost/jasper204//org/apache/jsp/jsp/compile_jsp.java

An error occurred at line: 35 in the jsp file: /jsp/compile.jsp
JasperCompileManager cannot be resolved
32: <%@ page import="net.sf.jasperreports.engine.*,net.sf.jasperreports.engine.util.JRProperties" %>
33:
34: <%
35: JasperCompileManager.compileReportToFile(application.getRealPath("/reports/WebappReport.jrxml"));
36: %>
37:
38: <html>

File /reports/WebappReport.jrxml exist bien into jasper context directory
 
Regards 
Philippe
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...