facebook

Problem to add Struts Capabilities

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #229103 Reply

    moacy
    Member

    I can’t add struts capabilities to a web project.
    Please help me.
    The log is:

    !SESSION 2005-05-04 17:24:22.951 ———————————————–
    eclipse.buildId=I20050401-1645
    java.version=1.4.2
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=pt_BR

    !ENTRY org.eclipse.ui 4 4 2005-05-04 17:24:22.955
    !MESSAGE Exception in com.genuitec.eclipse.core.util.FileCreateUtil.getNewFile(): java.lang.NoSuchMethodError: org.eclipse.ui.internal.WorkbenchMessages.getString(Ljava/lang/String;)Ljava/lang/String;

    !ENTRY org.eclipse.ui 4 4 2005-05-04 17:24:22.958
    !MESSAGE Unhandled event loop exception

    !ENTRY org.eclipse.ui 4 0 2005-05-04 17:24:22.960
    !MESSAGE org.eclipse.ui.internal.WorkbenchMessages.getString(Ljava/lang/String;)Ljava/lang/String;
    !STACK 0
    java.lang.NoSuchMethodError: org.eclipse.ui.internal.WorkbenchMessages.getString(Ljava/lang/String;)Ljava/lang/String;
    at com.genuitec.eclipse.core.util.FileCreateUtil.createNewFile(Unknown Source)
    at com.genuitec.eclipse.struts.wizards.NewEasyStrutsWizard.ā(Unknown Source)
    at com.genuitec.eclipse.struts.wizards.NewEasyStrutsWizard.performFinish(Unknown Source)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:676)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:349)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
    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:1012)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2778)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2472)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:803)
    at org.eclipse.jface.window.Window.open(Window.java:781)
    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:236)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2778)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2472)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1570)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1534)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:306)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)
    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.invokeFramework(Main.java:315)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
    at org.eclipse.core.launcher.Main.run(Main.java:942)
    at org.eclipse.core.launcher.Main.main(Main.java:926)

    #229111

    Riyad Kalla
    Member

    Thank you for posting your log, it looks like you have incompatible versions of Eclipse and MyEclipse installed. Please tell me the exact name of the files you used to install Eclipse and MyEclipse.

    #229117

    moacy
    Member

    Versions:
    eclipse-SDK-3.1M6-linux-gtk.tar.gz
    EnterpriseWorkbenchInstaller_030804_3.1M6Beta.bin

    I am using Suse 9.0

    I read the tutorial and its ok,about the versions,but its works in the beginning,but after a short time it don’t works.
    I know it is very strange.
    Please help me

    #229157

    moacy
    Member

    Hi Riyad
    Do you have any good news to me?
    Please as soon as possible,please, give me a answer.

    Thank you.

    #229158

    Riyad Kalla
    Member

    Actually I have passed this support issue to our Linux developer because your file names AND versions are exactly correct, you should never be seeing this problem, and the fact that you said “after a short time it doesn’t work” somehow implying that after a certain duration you start to get these exceptions makes the bug even stranger. As a developer, look at the exception, it is caused by an incompatibility between the MyEclipse code calling the Eclipse platform code and not finding a method with the correct signature… this either works or doesn’t work…. I have absolutely no idea why this would only popup after a certain length of time. You have stumped me!

    So I have asked our Linux testers to see if they can reproduce this, I’m sorry for the delay but I don’t have any more information at this time.

    #229160

    moacy
    Member

    I am waiting for a reply.
    Thank you very much.

    #229209

    Greg
    Member

    I tested adding struts cap. to a web project on a 3.8.4Beta install on eclipse 3.1M6. I saw no issues or any errors. Can you provide more details on exactly the steps that lead to the error and maybe we can help.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Problem to add Struts Capabilities

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