0 Replies Latest reply: Mar 4, 2013 9:20 PM by 994773 RSS

    Eclipse SDK 2.2.0.3 Error - ClassNotFoundException

    994773
      I am trying to set RMB (Financial Services version of CCB) development environment including Eclipse RMBSDK (ver 2.2.0.3) in a Windows 64 byte machine and are facing an issue while trying to invoke any SPL plugin like New - Batch Control or Page Service or Algorithm Implementation class. The error that we get is as below,


      !SESSION 2013-03-04 05:53:51.018 -----------------------------------------------
      eclipse.buildId=M20120914-1800
      java.version=1.6.0_37
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
      Command-line arguments: -os win32 -ws win32 -arch x86_64

      !ENTRY org.eclipse.ui 4 0 2013-03-04 05:54:21.953
      !MESSAGE Unhandled event loop exception
      !STACK 0
      java.lang.NoClassDefFoundError: com/splwg/tools/artifactgen/utils/StringUtils
           at com.splwg.eclipseEditors.wizards.helpers.AbstractWidgetHelper.addLabelTo(AbstractWidgetHelper.java:79)
           at com.splwg.eclipseEditors.wizards.helpers.AbstractWidgetHelper.addTo(AbstractWidgetHelper.java:104)
           at com.splwg.eclipseEditors.wizards.helpers.WidgetFactory.installPropertyWidget(WidgetFactory.java:107)
           at com.splwg.eclipseEditors.wizards.helpers.WidgetFactory.installWidgetsFor(WidgetFactory.java:93)
           at com.splwg.eclipseEditors.wizards.NewTypeAndAnnotationWizardPage.createAnnotationControls(NewTypeAndAnnotationWizardPage.java:168)
           at com.splwg.eclipseEditors.wizards.NewTypeAndAnnotationWizardPage.createControl(NewTypeAndAnnotationWizardPage.java:142)
           at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)
           at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
           at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:608)
           at org.eclipse.jface.window.Window.create(Window.java:431)
           at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
           at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:122)
           at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
           at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
           at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
           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:1053)
           at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
           at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
           at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029)
           at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
           at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923)
           at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
           at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
           at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
           at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
           at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
           at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
           at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
           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:353)
           at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
           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:597)
           at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
           at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
           at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
      Caused by: java.lang.ClassNotFoundException: com.splwg.tools.artifactgen.utils.StringUtils
           at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
           at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
           at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
           at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
           ... 41 more


      I have done with number of troubleshooting steps like ensuring spl-tools.2.2.0. jar is present in eclipse project build path / Environment path, etc.