Skip to Content
0
Former Member
Nov 14, 2008 at 08:38 AM

How to deloy java desktop application included crystal report?

70 Views

Hi all,

I'm a beginner in crystal report. I am developing one java desktop application in Eclipse editor. The application can show report when i run it in Eclipse environment. But when i exported .jar execute file then the application can not show report. I make .jar file with manfest file below:

-


Manifest-Version: 1.0

Main-Class: JRCViewReport

Class-Path: lib/ReportViewer.jar lib/swt.jar lb/pojo.jar lib/swt.jar lib/axis.jar lib/axis-ant.jar lib/cecore.jar lib/commons-collections-3.1.jar

lib/commons-configuration-1.2.jar lib/commons-discovery.jar lib/commons-lang-2.1.jar lib/commons-logging.jar lib/Concurrent.jar lib/corbaidl.jar lib/CRDBJavaServerCommon.jar lib/CRDBXMLExternal.jar lib/CRDBXMLServer.jar lib/CrystalCharting.jar

lib/CrystalCommon.jar lib/CrystalContentModels.jar lib/CrystalDatabaseConnectors.jar lib/CrystalExporters.jar lib/CrystalExportingBase.jar

lib/CrystalFormulas.jar lib/CrystalQueryEngine.jar lib/CrystalReportEngine.jar lib/CrystalReportingCommon.jar lib/ebus405.jar lib/icu4j.jar

lib/jaxrpc.jar lib/jrcadapter.jar lib/jrcerom.jar lib/keycodeDecoder.jar lib/log4j.jar lib/MetafileRenderer.jar

lib/pullparser.jar lib/rasapp.jar lib/rascore.jar lib/ReportPrinter.jar lib/rpoifs.jar lib/saaj.jar lib/serialization.jar lib/URIUtil.jar

lib/webreporting.jar lib/webreporting-jsf.jar lib/wsdl4j.jar lib/xbean.jar lib/xercesImpl.jar lib/xml-apis.jar

-


When i execute jar file then error posted:

- JRCAgent1 detected an exception: com/crystaldecisions/reports/formulas/OperandField

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

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)

at com.crystaldecisions.reports.dataengine.a0.a(Unknown Source)

at com.businessobjects.reports.sdk.c.a(Unknown Source)

at com.businessobjects.reports.sdk.b.v.if(Unknown Source)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)

at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)

at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)

at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.do(Unknown Source)

at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)

at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(Unknown Source)

at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)

at com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)

at JRCViewReport.launchApplication(JRCViewReport.java:32)

at JRCViewReport$1.run(JRCViewReport.java:69)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: com/crystaldecisions/reports/formulas/OperandField---- Error code:-2147467259 Error code name:failed

-


Could you help me, please?