6 Replies Latest reply on Dec 6, 2007 1:58 AM by Max Rydahl Andersen

    Struts tools do not work

    Alex Titov Newbie

      When I try to create struts project I get the following error:
      The selected wizard could not be started. Reason: Plug-in "org.jobss.struts.ui" was unable to instantiate class "org.jboss.struts.ui.wizard.project.NewProjectWizard".

      When I try to open existing stuts-config.xml with "JBoss Tools Struts Flow Editor" nothing happens.

      When I try to create new Stuts Config in Dynamic Web Project, wizard says, that web.xml is not found.

      Does any of struts tools work?

        • 1. Re: Struts tools do not work
          Max Rydahl Andersen Master

          It should .... QA has tests for running throught it and have not reported any issues.

          Could you please report any issue you have with info of versions and stacktraces in error log to our jira.

          • 2. Re: Struts tools do not work
            Max Rydahl Andersen Master

            btw. i just tested with latest build and I see no issues so try that and report it if you still see issues.

            • 3. Re: Struts tools do not work
              Max Rydahl Andersen Master

              unfortunately this is the default behavior of classpath containers in eclipse.

              put a request in jira and we will see if we can workaround this (yes should be doable)

              • 4. Re: Struts tools do not work
                Alex Titov Newbie

                I am sorry. But where should I put a request, and how cat I do that? I do not know what jira is....

                • 5. Re: Struts tools do not work
                  Alex Titov Newbie

                  Also when I try to add strusts capabilities to existing project the following error appears in .log file:

                  java.lang.NoSuchMethodError: org.jboss.tools.struts.webprj.model.helpers.context.ImportProjectWizardContext.getRegisterTomcatContext()Lorg/jboss/tools/jst/web/context/RegisterTomcatContext;
                   at org.jboss.tools.struts.webprj.model.helpers.context.ImportProjectWizardContext.initRegistry(ImportProjectWizardContext.java:42)
                   at org.jboss.tools.jst.web.context.ImportWebDirProjectContext.<init>(ImportWebDirProjectContext.java:54)
                   at org.jboss.tools.struts.webprj.model.helpers.context.ImportProjectWizardContext.<init>(ImportProjectWizardContext.java:38)
                   at org.jboss.tools.struts.ui.wizard.project.ImportProjectWizard.addPages(ImportProjectWizard.java:34)
                   at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:540)
                   at org.eclipse.jface.window.Window.create(Window.java:426)
                   at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1081)
                   at org.eclipse.jface.window.Window.open(Window.java:785)
                   at org.jboss.tools.common.model.ui.action.AddNatureActionDelegate.doRun(AddNatureActionDelegate.java:61)
                   at org.jboss.tools.common.model.ui.action.AddNatureActionDelegate.run(AddNatureActionDelegate.java:47)
                   at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
                   at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
                   at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
                   at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
                   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
                   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
                   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
                   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
                   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
                   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
                   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
                   at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
                   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
                   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
                   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
                   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
                   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
                   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
                   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
                   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
                   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
                   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:508)
                   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
                   at org.eclipse.equinox.launcher.Main.run(Main.java:1173)