facebook

CA=can’t add struts capabilities

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #218164 Reply

    nogavros
    Member

    after installing the latest version (3.8.2) and creating a new web project, I tried to add struts support to it.
    But unfortunately I get the following build error :
    * Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
    *java.io.FileNotFoundException: C:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.cross.easystruts.eclipse_3.7.101\data\1.1\lib\classes12.jar (The system cannot find the path specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:103)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at com.genuitec.eclipse.struts.wizards.NewEasyStrutsWizard.copyLib(Unknown Source)
    at com.genuitec.eclipse.struts.wizards.NewEasyStrutsWizard.performFinish(Unknown Source)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:607)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:305)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:505)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2716)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2382)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
    at org.eclipse.jface.window.Window.open(Window.java:648)
    at com.genuitec.eclipse.struts.action.AddStrutsCapabilitiesActionDelegate.basicRun(Unknown Source)
    at com.genuitec.eclipse.struts.action.AddStrutsCapabilitiesActionDelegate.run(Unknown Source)
    at com.genuitec.eclipse.core.ui.action.LicenseValidatingActionDelegate.runWithEvent(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:266)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:899)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:850)
    at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:769)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2716)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2382)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1363)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1334)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:253)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:97)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:307)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:256)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:127)
    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:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
    at org.eclipse.core.launcher.Main.run(Main.java:638)
    at org.eclipse.core.launcher.Main.main(Main.java:622)

    It seems that it is trying to find the struts files from an old installation, which I assumed was deleted, but apparently wasn’t.
    I even re-installed Eclipse, deleting my old directory.
    Could you please tell us how to get MyEclipse back on track.

    Thanks
    NoGavros

    #218218 Reply

    Scott Anderson
    Participant

    A 3.8.2 installation should not be looking for an old version of that plugin. It looks like you tried to install 3.8.2 on top of one of the 3.8 beta releases and this won’t work. A full uninstall / reinstall is required for the upgrade. The quickest way to get everything working is to install a fresh version of Eclipse 3.0.1 and then install MyEclipse 3.8.2 on top of that. Once installed, you can then open your existing workspace and full functionality should be restored.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: CA=can’t add struts capabilities

You must be logged in to post in the forum log in