0 Replies Latest reply on Jun 24, 2014 1:09 PM by Dave Rathnow

    Another "Could not resolve archetype" error

    Dave Rathnow Novice

      I just downloaded JBDS and tried to create my first project--an HTML5 project. Unfortunately, it won't work.  Moreover, none of the project creation methods that involve a Maven archetype seem to work.  The error dialog complains about not being able to resolve archetype org.jboss.aerogear.archetypes:jboss-html5-mobile-archetype:1.0.0.M5.  The .log contains the stack trace below.  Can someone tell me why this is breaking??

       

       

      !SUBENTRY 2 org.eclipse.m2e.core 4 -1 2014-06-24 11:00:40.854

      !MESSAGE Failure to transfer org.jboss.aerogear.archetypes:jboss-html5-mobile-archetype:pom:1.0.0.M5 from https://repository.jboss.org/nexus/content/repositories/releases/ was cached in the local repository, resolution will not be reattempted until the update interval of JBoss Public has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.aerogear.archetypes:jboss-html5-mobile-archetype:pom:1.0.0.M5 from/to JBoss Public (https://repository.jboss.org/nexus/content/repositories/releases/): connection timed out to https://repository.jboss.org/nexus/content/repositories/releases/org/jboss/aerogear/archetypes/jboss-html5-mobile-archetype/1.0.0.M5/jboss-html5-mobile-archetype-1.0.0.M5.pom

      !STACK 0

      org.sonatype.aether.transfer.ArtifactTransferException: Failure to transfer org.jboss.aerogear.archetypes:jboss-html5-mobile-archetype:pom:1.0.0.M5 from https://repository.jboss.org/nexus/content/repositories/releases/ was cached in the local repository, resolution will not be reattempted until the update interval of JBoss Public has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.aerogear.archetypes:jboss-html5-mobile-archetype:pom:1.0.0.M5 from/to JBoss Public (https://repository.jboss.org/nexus/content/repositories/releases/): connection timed out to https://repository.jboss.org/nexus/content/repositories/releases/org/jboss/aerogear/archetypes/jboss-html5-mobile-archetype/1.0.0.M5/jboss-html5-mobile-archetype-1.0.0.M5.pom

        at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:237)

        at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:216)

        at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427)

        at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)

        at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)

        at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286)

        at org.eclipse.m2e.core.internal.embedder.MavenImpl$5.call(MavenImpl.java:727)

        at org.eclipse.m2e.core.internal.embedder.MavenImpl$5.call(MavenImpl.java:1)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:137)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:89)

        at org.eclipse.m2e.core.internal.embedder.MavenImpl.resolve(MavenImpl.java:717)

        at org.eclipse.m2e.core.internal.embedder.MavenImpl.resolve(MavenImpl.java:694)

        at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage.downloadArchetype(ArchetypeExamplesWizardPage.java:261)

        at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage.access$4(ArchetypeExamplesWizardPage.java:251)

        at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage$3.run(ArchetypeExamplesWizardPage.java:205)

        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:190)

        at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage.initializeArchetype(ArchetypeExamplesWizardPage.java:139)

        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:432)

        at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104)

        at org.eclipse.jface.window.Window.open(Window.java:791)

        at org.jboss.tools.central.editors.GettingStartedPage.openWizard(GettingStartedPage.java:645)

        at org.jboss.tools.central.editors.GettingStartedPage.access$11(GettingStartedPage.java:630)

        at org.jboss.tools.central.editors.GettingStartedPage$6.linkActivated(GettingStartedPage.java:602)

        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:1057)

        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)

        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)

        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)

        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)

        at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)

        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)

        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)

        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)

        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:354)

        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)

        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:636)

        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)

        at org.eclipse.equinox.launcher.Main.run(Main.java:1450)

        at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

       

       

      !ENTRY org.jboss.tools.project.examples 4 0 2014-06-24 11:01:26.754

      !MESSAGE

      !STACK 0

      java.lang.reflect.InvocationTargetException

        at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage$5.run(ArchetypeExamplesWizardPage.java:420)

        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

      Caused by: org.eclipse.core.runtime.CoreException: Could not resolve archetype org.jboss.aerogear.archetypes:jboss-html5-mobile-archetype:1.0.0.M5 from any of the configured repositories.

        at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.resolveArchetype(ProjectConfigurationManager.java:842)

        at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.createArchetypeProjects0(ProjectConfigurationManager.java:734)

        at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$4.call(ProjectConfigurationManager.java:710)

        at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$4.call(ProjectConfigurationManager.java:1)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:102)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:89)

        at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1305)

        at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.createArchetypeProjects(ProjectConfigurationManager.java:708)

        at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage$4$1.call(ArchetypeExamplesWizardPage.java:381)

        at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage$4$1.call(ArchetypeExamplesWizardPage.java:1)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:137)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:89)

        at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1305)

        at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage$4.run(ArchetypeExamplesWizardPage.java:376)

        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2345)

        at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage$5.run(ArchetypeExamplesWizardPage.java:418)

        ... 1 more

      Caused by: org.eclipse.core.runtime.CoreException: Could not resolve artifact org.jboss.aerogear.archetypes:jboss-html5-mobile-archetype:pom:1.0.0.M5

        at org.eclipse.m2e.core.internal.embedder.MavenImpl$5.call(MavenImpl.java:750)

        at org.eclipse.m2e.core.internal.embedder.MavenImpl$5.call(MavenImpl.java:1)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:102)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:89)

        at org.eclipse.m2e.core.internal.embedder.MavenImpl.resolve(MavenImpl.java:717)

        at org.eclipse.m2e.core.internal.embedder.MavenImpl.resolve(MavenImpl.java:694)

        at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.resolveArchetype(ProjectConfigurationManager.java:835)

        ... 18 more

      Root exception:

      org.eclipse.core.runtime.CoreException: Could not resolve archetype org.jboss.aerogear.archetypes:jboss-html5-mobile-archetype:1.0.0.M5 from any of the configured repositories.

        at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.resolveArchetype(ProjectConfigurationManager.java:842)

        at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.createArchetypeProjects0(ProjectConfigurationManager.java:734)

        at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$4.call(ProjectConfigurationManager.java:710)

        at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$4.call(ProjectConfigurationManager.java:1)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:102)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:89)

        at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1305)

        at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.createArchetypeProjects(ProjectConfigurationManager.java:708)

        at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage$4$1.call(ArchetypeExamplesWizardPage.java:381)

        at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage$4$1.call(ArchetypeExamplesWizardPage.java:1)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:137)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:89)

        at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1305)

        at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage$4.run(ArchetypeExamplesWizardPage.java:376)

        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2345)

        at org.jboss.tools.maven.project.examples.wizard.ArchetypeExamplesWizardPage$5.run(ArchetypeExamplesWizardPage.java:418)

        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

      Caused by: org.eclipse.core.runtime.CoreException: Could not resolve artifact org.jboss.aerogear.archetypes:jboss-html5-mobile-archetype:pom:1.0.0.M5

        at org.eclipse.m2e.core.internal.embedder.MavenImpl$5.call(MavenImpl.java:750)

        at org.eclipse.m2e.core.internal.embedder.MavenImpl$5.call(MavenImpl.java:1)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:102)

        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:89)

        at org.eclipse.m2e.core.internal.embedder.MavenImpl.resolve(MavenImpl.java:717)

        at org.eclipse.m2e.core.internal.embedder.MavenImpl.resolve(MavenImpl.java:694)

        at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.resolveArchetype(ProjectConfigurationManager.java:835)

        ... 18 more