JasperCompileManager.compileReport and tomcat 5.5

0
Hi
I am have problem with compile jasper report

code:
JasperReport report = JasperCompileManager.compileReport(design);

lib: Jasperreports 0.6.4
under Tomcat 4.1 all good
under Tomcat 5.5.23 - error

---------------------
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

......

Caused by: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer.<init>(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;)V
at net.sf.jasperreports.engine.design.JRJdtCompiler$1.findType(JRJdtCompiler.java:311)
-----------------------


I am try add library jdt-compiler.3.1.1.jar to project don't help may be other version

What need to do that go from tomcat41 on tomcat 5.5 for jasperreport ?

Thank's
vkucher's picture
Joined: Jul 5 2007 - 7:34pm
Last seen: 7 years 3 weeks ago

1 Answer:

0
vkucher's picture
Joined: Jul 5 2007 - 7:34pm
Last seen: 7 years 3 weeks ago
Feedback