pcouas Posted August 15, 2008 Share Posted August 15, 2008 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:nullJava FileName:/usr/local/lib/apache-tomcat-5.5.25/work/Catalina/localhost/jasper204//org/apache/jsp/jsp/compile_jsp.javaAn error occurred at line: 7 in the generated java fileOnly a type can be imported. net.sf.jasperreports.engine.util.JRProperties resolves to a packageJSP FileName:/jsp/compile.jspJava FileName:/usr/local/lib/apache-tomcat-5.5.25/work/Catalina/localhost/jasper204//org/apache/jsp/jsp/compile_jsp.javaAn error occurred at line: 35 in the jsp file: /jsp/compile.jspJasperCompileManager cannot be resolved32: <%@ 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now