Jump to content
Changes to the Jaspersoft community edition download ×

org/apache/commons/logging/LogFactory???


Recommended Posts

By: Nandhini - nandhini

org/apache/commons/logging/LogFactory???

2002-10-18 08:27

hi

 

FontsApp -Tcompile -FFontsReport.xml

 

I get the following errors

What should I do?

 

"D:jdk1.3.1_03binjava.exe" FontsApp -Tcompile -FFontsReport.xml

java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

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

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

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

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

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:96)

at FontsApp.main(FontsApp.java:129)

Terminated with exit code 1

 

 

By: Teodor Danciu - teodord

RE: org/apache/commons/logging/LogFactory???

2002-10-18 14:01

 

Hi,

 

Have you set the "org.xml.sax.driver" property like

explained to you on the other thread ?

 

http://jasperreports.sourceforge.net/faq.html#faq1

 

Teodor

 

 

 

By: Nandhini - nandhini

Re:org/apache/commons/logging/LogFactory???

2002-10-21 01:51

I did set "org.xml.sax.driver" ,after that I got the list of errors

 

 

 

 

By: J rgen Lundberg - jorgen99

RE: org/apache/commons/logging/LogFactory???

2002-10-21 02:22

I also got this message. I downloaded the commons-logging.jar from Jakarta and put it in the classpath and everything worked fine after that.

 

The commons-logging can be found here:

http://jakarta.apache.org/commons/logging.html

 

/ Jörgen Lundberg

 

 

 

By: Nandhini - nandhini

RE: org/apache/commons/logging/LogFactory???

2002-10-21 03:14

hi,

 

Thanx lot.I did add that jar file in the classpath and now I am getting the errors shown below.

 

I have included -commons-digester.jar file in my classpath already

 

"D:jdk1.3.1_03binjava.exe" FontsApp -Tcompile -FFontsReport.xml

java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:96)

at FontsApp.main(FontsApp.java:130)

Terminated with exit code 1

 

nandhini

 

 

By: J rgen Lundberg - jorgen99

RE: org/apache/commons/logging/LogFactory???

2002-10-21 03:26

That is strange, Digester is in the commons-digerster jar-file.

 

I think you have to check your classpath so that it really contains the jar-files needed by jasper.

 

/ J rgen

 

 

 

 

By: Nandhini - nandhini

RE: org/apache/commons/logging/LogFactory???

2002-10-21 04:45

hi,

 

I chaecked the class path again.Now I am getting these errors

 

"D:jdk1.3.1_03binjava.exe" FontsApp -Tcompile -FFontsReport.xml

java.lang.ClassNotFoundException: dori.jasper.engine.xml.JasperDesignFactory

at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:183)

at java.lang.ClassLoader.loadClass(ClassLoader.java:294)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)

at java.lang.ClassLoader.loadClass(ClassLoader.java:250)

at org.apache.commons.digester.FactoryCreateRule.getFactory(FactoryCreateRule.java:373)

at org.apache.commons.digester.FactoryCreateRule.begin(FactoryCreateRule.java:291)

at org.apache.commons.digester.Digester.startElement(Digester.java:1237)

at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)

at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.commons.digester.Digester.parse(Digester.java:1514)

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

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

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:96)

at FontsApp.main(FontsApp.java:131)

[ERROR] Digester - -Begin event threw exception <java.lang.ClassNotFoundException: dori.jasper.engine.xml.JasperDesignFactory>

java.lang.ClassNotFoundException: dori.jasper.engine.xml.JasperDesignFactory

at org.apache.commons.digester.Digester.createSAXException(Digester.java:2312)

at org.apache.commons.digester.Digester.createSAXException(Digester.java:2332)

at org.apache.commons.digester.Digester.startElement(Digester.java:1240)

at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)

at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.commons.digester.Digester.parse(Digester.java:1514)

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

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

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:96)

at FontsApp.main(FontsApp.java:131)

 

NESTED BY :

dori.jasper.engine.JRException: Error at (4, 151: dori.jasper.engine.xml.JasperDesignFactory

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

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

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:96)

at FontsApp.main(FontsApp.java:131)

Terminated with exit code 1

 

 

By: Nandhini - nandhini

RE: org/apache/commons/logging/LogFactory???

2002-10-21 04:51

hi,

 

I chaecked the class path again.Now I am getting these errors

 

"D:jdk1.3.1_03binjava.exe" FontsApp -Tcompile -FFontsReport.xml

java.lang.ClassNotFoundException: dori.jasper.engine.xml.JasperDesignFactory

at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:183)

at java.lang.ClassLoader.loadClass(ClassLoader.java:294)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)

at java.lang.ClassLoader.loadClass(ClassLoader.java:250)

at org.apache.commons.digester.FactoryCreateRule.getFactory(FactoryCreateRule.java:373)

at org.apache.commons.digester.FactoryCreateRule.begin(FactoryCreateRule.java:291)

at org.apache.commons.digester.Digester.startElement(Digester.java:1237)

at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)

at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.commons.digester.Digester.parse(Digester.java:1514)

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

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

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:96)

at FontsApp.main(FontsApp.java:131)

[ERROR] Digester - -Begin event threw exception <java.lang.ClassNotFoundException: dori.jasper.engine.xml.JasperDesignFactory>

java.lang.ClassNotFoundException: dori.jasper.engine.xml.JasperDesignFactory

at org.apache.commons.digester.Digester.createSAXException(Digester.java:2312)

at org.apache.commons.digester.Digester.createSAXException(Digester.java:2332)

at org.apache.commons.digester.Digester.startElement(Digester.java:1240)

at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)

at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.commons.digester.Digester.parse(Digester.java:1514)

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

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

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:96)

at FontsApp.main(FontsApp.java:131)

 

NESTED BY :

dori.jasper.engine.JRException: Error at (4, 151: dori.jasper.engine.xml.JasperDesignFactory

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

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

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:96)

at FontsApp.main(FontsApp.java:131)

Terminated with exit code 1

 

 

By: Nandhini - nandhini

RE: org/apache/commons/logging/LogFactory???

2002-10-21 04:51

hi,

 

I chaecked the class path again.Now I am getting these errors

 

"D:jdk1.3.1_03binjava.exe" FontsApp -Tcompile -FFontsReport.xml

java.lang.ClassNotFoundException: dori.jasper.engine.xml.JasperDesignFactory

at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:183)

at java.lang.ClassLoader.loadClass(ClassLoader.java:294)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)

at java.lang.ClassLoader.loadClass(ClassLoader.java:250)

at org.apache.commons.digester.FactoryCreateRule.getFactory(FactoryCreateRule.java:373)

at org.apache.commons.digester.FactoryCreateRule.begin(FactoryCreateRule.java:291)

at org.apache.commons.digester.Digester.startElement(Digester.java:1237)

at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)

at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.commons.digester.Digester.parse(Digester.java:1514)

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

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

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:96)

at FontsApp.main(FontsApp.java:131)

[ERROR] Digester - -Begin event threw exception <java.lang.ClassNotFoundException: dori.jasper.engine.xml.JasperDesignFactory>

java.lang.ClassNotFoundException: dori.jasper.engine.xml.JasperDesignFactory

at org.apache.commons.digester.Digester.createSAXException(Digester.java:2312)

at org.apache.commons.digester.Digester.createSAXException(Digester.java:2332)

at org.apache.commons.digester.Digester.startElement(Digester.java:1240)

at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)

at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.commons.digester.Digester.parse(Digester.java:1514)

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

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

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:96)

at FontsApp.main(FontsApp.java:131)

 

NESTED BY :

dori.jasper.engine.JRException: Error at (4, 151: dori.jasper.engine.xml.JasperDesignFactory

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

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

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:96)

at FontsApp.main(FontsApp.java:131)

Terminated with exit code 1

 

 

By: Teodor Danciu - teodord

RE: org/apache/commons/logging/LogFactory???

2002-10-21 12:37

 

Hi,

 

Can we see you classpath?

I assume you use the environment variable called CLASSPATH.

 

Thank you,

Teodor

 

 

 

By: Nandhini - nandhini

RE: org/apache/commons/logging/LogFactory???

2002-10-21 21:08

Yeah I got it working..

 

I had messed up the classpath.Had missed out a "" :-))

 

Thanx for the prompt replies

nandhini

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...