[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.birt] Re: Birt 2.3.1 Design Engine - Unable to get sample report to run

Shellie,

Do you have
org.apache.commons.codec_1.3.0.v20080530-1600.jar in your classpath?

All the jars in the lib directory of the Report engine download should be in your classpath.

Jason

shellie wrote:
When I run the simpleCreate.java I get the following error when this line is executed. I'm using the birt-runtime-2_3_1/ReportEngine.


design.saveAs( "c:/temp/sample.rptdesign" ); -------------------


Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64
at org.eclipse.birt.report.model.writer.ModuleWriter.<clinit>(ModuleWriter.java:231)


at org.eclipse.birt.report.model.elements.ReportDesign.getWriter(ReportDesign.java:205)

at org.eclipse.birt.report.model.api.ModuleHandle.save(ModuleHandle.java:1539)
at org.eclipse.birt.report.model.api.ModuleHandle.saveAs(ModuleHandle.java:1559)


at com.sparta.workbench.report.DeDemo.buildReport(DeDemo.java:242)
at com.sparta.workbench.report.DeDemo.main(DeDemo.java:154)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.binary.Base64
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 6 more



ideas?