All pastes #936722 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-03-10 16:30 UTC
rendered paste body
# ant compile
/usr/bin/build-classpath: error: Could not find xml-commons-apis Java extension for this JVM
/usr/bin/build-classpath: error: Some specified jars were not found
Buildfile: build.xml

compile:
      [jrc] Compiling 1 report design files.
      [jrc] log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
      [jrc] log4j:WARN Please initialize the log4j system properly.
      [jrc] File : /opt/jasperreports-2.0.4/demo/samples/barbecue/reports/BarbecueReport.jrxml ... FAILED.
      [jrc] Error compiling report design : /opt/jasperreports-2.0.4/demo/samples/barbecue/reports/BarbecueReport.jrxml
      [jrc] net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
      [jrc] 1. The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
      [jrc] public class BarbecueReport_1205169930855_736730 extends JREvaluator
      [jrc]                                                          <--------->
      [jrc] 1 errors

      [jrc]    at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:193)
      [jrc]    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:220)
      [jrc]    at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:136)
      [jrc]    at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:118)
      [jrc]    at net.sf.jasperreports.ant.JRAntCompileTask.compile(JRAntCompileTask.java:413)
      [jrc]    at net.sf.jasperreports.ant.JRAntCompileTask.execute(JRAntCompileTask.java:259)
      [jrc]    at org.apache.tools.ant.UnknownElement.execute(ant-1.6.5.jar.so)
      [jrc]    at org.apache.tools.ant.Task.perform(ant-1.6.5.jar.so)
      [jrc]    at org.apache.tools.ant.Target.execute(ant-1.6.5.jar.so)
      [jrc]    at org.apache.tools.ant.Target.performTasks(ant-1.6.5.jar.so)
      [jrc]    at org.apache.tools.ant.Project.executeSortedTargets(ant-1.6.5.jar.so)
      [jrc]    at org.apache.tools.ant.Project.executeTarget(ant-1.6.5.jar.so)
      [jrc]    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(ant-1.6.5.jar.so)
      [jrc]    at org.apache.tools.ant.Project.executeTargets(ant-1.6.5.jar.so)
      [jrc]    at org.apache.tools.ant.Main.runBuild(ant-1.6.5.jar.so)
      [jrc]    at org.apache.tools.ant.Main.startAnt(ant-1.6.5.jar.so)
      [jrc]    at org.apache.tools.ant.launch.Launcher.run(ant-launcher-1.6.5.jar.so)
      [jrc]    at org.apache.tools.ant.launch.Launcher.main(ant-launcher-1.6.5.jar.so)

BUILD FAILED
/opt/jasperreports-2.0.4/demo/samples/barbecue/build.xml:35: Errors were encountered when compiling report designs.

Total time: 2 seconds
[root@rt-demo barbecue]#