Jump to content
Changes to the Jaspersoft community edition download ×

Error compiling report design with 0.4.6


Recommended Posts

By: Gregory A. Swarthout - gswarthout

Error compiling report design with 0.4.6

2003-04-14 14:06

When I try to execute this line:

 

JasperReport jasperReport = JasperManager.compileReport("file.xml");

 

I get the following error:

 

java.lang.NoClassDefFoundError: org/apache/log4j/PropertyConfigurator

at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:457)

at org.apache.log4j.LogManager.<clinit>(LogManager.java:145)

at org.apache.log4j.Category.getInstance(Category.java:514)

at org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4jFactory.java:153)

at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:285)

at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)

at org.apache.commons.digester.Digester.<init>(Digester.java:345)

at dori.jasper.engine.xml.JRXmlDigester.<init>(JRXmlDigester.java:116)

at dori.jasper.engine.xml.JRXmlLoader.prepareDigester(JRXmlLoader.java:428)

at dori.jasper.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:370)

at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:357)

at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:337)

at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:323)

at dori.jasper.engine.JasperCompileManager.compileReport(JasperCompileManager.java:146)

at dori.jasper.engine.JasperManager.compileReport(JasperManager.java:934)

at GSwarthout.JasperTest.main(JasperTest.java:95)

 

 

 

 

By: Ryan Johnson - delscovich

RE: Error compiling report design with 0.4.6

2003-04-17 14:53

version 0.4.6 uses several new library .jars, including:

commons-beanutils.jar

commons-collections.jar

commons-digester.jar

commons-logging.jar

 

There may be others as well, but your error came from not having commons-logging.jar in your classpath

 

Ryan

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...