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/jasper2
04//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/jasper2
04//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.JRPro
perties" %>
33: 
34: <%
35:
JasperCompileManager.compileReportToFile(application.getRealPath("/reports/W
ebappReport.jrxml"));
36: %>
37: 
38: <html>

File /reports/WebappReport.jrxml exist bien into jasper context directory
 
Regards 
Philippe
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to