Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13190

Broken Spring MVC Archetype

XMLWordPrintable

    • Hide

      Try to create Spring MCV Project from JBoss Central.

      Show
      Try to create Spring MCV Project from JBoss Central.

      Spring MVC Project archetype is broken in JBT 4.0.0.CR1b.
      Description says:

      ...
      ...
      
      Project based on the null:null:null Maven archetype
      

      When trying to create Spring MVC Project, error pops up:

      Failed to create project.
      Root cause: For artifact {null:null:null:pom}: The groupid cannot be empty.
      

      And in error log:

      Error downloading archetype null:null:null:pom
      
      java.lang.reflect.InvocationTargetException
      	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:477)
      	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
      	at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1028)
      	at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage.getRequiredProperties(ArchetypeExamplesWizardPage.java:184)
      	at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage.initializeArchetype(ArchetypeExamplesWizardPage.java:135)
      	at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage.createControl(ArchetypeExamplesWizardPage.java:112)
      	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.jface.window.Window.open(Window.java:790)
      	at org.jboss.tools.central.editors.GettingStartedPage$9.linkActivated(GettingStartedPage.java:604)
      	at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:233)
      	at org.eclipse.ui.forms.widgets.ImageHyperlink.handleActivate(ImageHyperlink.java:199)
      	at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:327)
      	at org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:311)
      	at org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:125)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179)
      	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:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	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)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
      Caused by: org.apache.maven.artifact.InvalidArtifactRTException: For artifact {null:null:null:pom}: The groupId cannot be empty.
      	at org.apache.maven.artifact.DefaultArtifact.validateIdentity(DefaultArtifact.java:130)
      	at org.apache.maven.artifact.DefaultArtifact.<init>(DefaultArtifact.java:123)
      	at org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifact(DefaultArtifactFactory.java:157)
      	at org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifact(DefaultArtifactFactory.java:117)
      	at org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifact(DefaultArtifactFactory.java:111)
      	at org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifactWithClassifier(DefaultArtifactFactory.java:45)
      	at org.apache.maven.repository.legacy.LegacyRepositorySystem.createArtifactWithClassifier(LegacyRepositorySystem.java:129)
      	at org.eclipse.m2e.core.internal.embedder.MavenImpl.resolve(MavenImpl.java:639)
      	at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage.downloadArchetype(ArchetypeExamplesWizardPage.java:255)
      	at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage.access$4(ArchetypeExamplesWizardPage.java:245)
      	at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage$3.run(ArchetypeExamplesWizardPage.java:199)
      	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
      	... 43 more
      Root exception:
      org.apache.maven.artifact.InvalidArtifactRTException: For artifact {null:null:null:pom}: The groupId cannot be empty.
      	at org.apache.maven.artifact.DefaultArtifact.validateIdentity(DefaultArtifact.java:130)
      	at org.apache.maven.artifact.DefaultArtifact.<init>(DefaultArtifact.java:123)
      	at org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifact(DefaultArtifactFactory.java:157)
      	at org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifact(DefaultArtifactFactory.java:117)
      	at org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifact(DefaultArtifactFactory.java:111)
      	at org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifactWithClassifier(DefaultArtifactFactory.java:45)
      	at org.apache.maven.repository.legacy.LegacyRepositorySystem.createArtifactWithClassifier(LegacyRepositorySystem.java:129)
      	at org.eclipse.m2e.core.internal.embedder.MavenImpl.resolve(MavenImpl.java:639)
      	at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage.downloadArchetype(ArchetypeExamplesWizardPage.java:255)
      	at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage.access$4(ArchetypeExamplesWizardPage.java:245)
      	at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage$3.run(ArchetypeExamplesWizardPage.java:199)
      	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
      	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
      	at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1028)
      	at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage.getRequiredProperties(ArchetypeExamplesWizardPage.java:184)
      	at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage.initializeArchetype(ArchetypeExamplesWizardPage.java:135)
      	at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage.createControl(ArchetypeExamplesWizardPage.java:112)
      	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.jface.window.Window.open(Window.java:790)
      	at org.jboss.tools.central.editors.GettingStartedPage$9.linkActivated(GettingStartedPage.java:604)
      	at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:233)
      	at org.eclipse.ui.forms.widgets.ImageHyperlink.handleActivate(ImageHyperlink.java:199)
      	at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:327)
      	at org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:311)
      	at org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:125)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179)
      	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:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	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)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
      
      

              fbricon@redhat.com Fred Bricon
              rhopp@redhat.com Radim Hopp
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: