Jump to content
We've recently updated our Privacy Statement, available here ×

warer

Members
  • Posts

    3
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by warer

  1. A workaround is to rename jasper-jdt.jar so tomcat dosen't recognise it as a jar file. Then start my app and errors will print, it was then missing some classes so it coudn't compile it, once the error checking was done. So i reenabled jasper-jdt.jar and it compiles.

     

    To get the errors printed remove jasper-jdt.jar, and to compile put it back.

  2. Hi

     

    I am trying to compile my report inside my app. This work fine when there are no errors but whenever i make an error in my document i get this exception:

     

    Code:

    java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getErrors()[Lorg/eclipse/jdt/core/compiler/IProblem;
    at net.sf.jasperreports.engine.design.JRJdtCompiler$2.acceptResult(JRJdtCompiler.java:418)
    at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:398)
    at net.sf.jasperreports.engine.design.JRJdtCompiler.compileUnits(JRJdtCompiler.java:191)
    at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:190)
    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:220)
    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:153)

     

    I am using tomcat 6.0.14 which provides the org.eclipse.jdt.internal.compiler class in jasper-jdt.jar.

     

    This is probably because this method might have changed name or something.

    I am using JasperReports 2.0.2. Does that version work with tomcat 6.0.14

×
×
  • Create New...