I am working on eclipse ganymede and i am working on a crystal report code call export report which export the rpt to your local file system in a pdf format.but i am getting the exception when i am compiling my code.
exception is comming in this line. class no defination
reportClientDoc.open(REPORT_NAME, 0);
Exception in thread "main" java.lang.NoClassDefFoundError: com/crystaldecisions/reports/common/bk
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.z.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.R eportAppSession.int(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.R eportAppSession.initialize(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.C lientDocument.for(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.R eportClientDocument.for(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.C lientDocument.open(Unknown Source)
at com.crystaldecisions.reports.sdk.ReportClientDocum ent.open(Unknown Source)
at JRCExportReport.main(JRCExportReport.java:33)
Caused by: java.lang.ClassNotFoundException: com.crystaldecisions.reports.common.bk
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)
... 10 more
i have included all the jar files necessary for the crystal (JRC) also for ODBC.as my rpt file uses odbc connection. can anyone help me on this.Am i missin some jar files.