cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NoClassDefFoundError: com/crystaldecisions/sdk/occa/report/lib/Re

Former Member
0 Kudos
Hi,
 I'm trying to develop eclipse plugins with crystal reports. 
 I created the Plugin project -> selected 'Configure build path'. -> 'Add external jars' n added all jar files.
Actually  If i try to add as a 'Add library' n selected 'Crystal Reports Java Project Runtime Library' but it showed me a message like this  " The Crystal Reports Java Project Runtime Library cannot be added to a plug-in project.  Please consult product documentation on how to add Crystal Reports to a plug-in project." that's why i added as a external jars.

I called my program through some action in plugin it thrown this error....
Plz suggest me what is the problem..?

java.lang.NoClassDefFoundError: com/crystaldecisions/sdk/occa/report/lib/ReportSDKException

at cr4etest.popup.actions.NewAction.run(NewAction.java:34)

at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)

at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)

at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)

at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)

at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

Accepted Solutions (0)

Answers (3)

Answers (3)

ted_ueda
Employee
Employee
0 Kudos

It's strange that you're trying to develop a Eclipse plugin using the Crystal Report runtime.

Note that there's ways to integrate Crystal Report embedded designer to a Eclipse - it's done by the Crystal Reports Designer Extension Points API.

Sincerely,

Ted Ueda

0 Kudos

Not enough info

Former Member
0 Kudos

Hi,

Which server ur using like WBLOGIC server

Regards,

Amol

Former Member
0 Kudos

It's a plugin development project not a web application. I'm not using any server.

Edited by: Kondal Kolipaka on Jun 22, 2009 6:32 AM