facebook

Creating New Java Maven Project Failing

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #288772 Reply

    While creating a new Java Maven Project. I am getting the following error
    Below are the details of the Error
    I. Error shown on the maven console
    2. Stack trace – (Installation Summary -> Installation Details -> View Error Logs
    3. Installation Details (Installation Summary -> Installation Details)

    <error>
    [ERROR] The desired archetype does not exist (org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE) The desired archetype does not exist (org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE)
    </error>

    <stack trace>
    !ENTRY org.maven.ide.eclipse 4 0 2008-09-04 14:08:21.687
    !MESSAGE Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE -> http://repo1.maven.org/maven2%5D
    !STACK 0
    org.apache.maven.archetype.exception.UnknownArchetype: The desired archetype does not exist (org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE)
    at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:114)
    at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:290)
    at org.apache.maven.archetype.DefaultArchetype.generateProjectFromArchetype(DefaultArchetype.java:75)
    at org.maven.ide.eclipse.project.BuildPathManager.createArchetypeProject(BuildPathManager.java:1359)
    at com.genuitec.eclipse.maven.wizards.MavenLibraryProjectWizard$1.runInWorkspace(MavenLibraryProjectWizard.java:84)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    !ENTRY org.maven.ide.eclipse 4 0 2008-09-04 14:08:21.703
    !MESSAGE Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE -> http://repo1.maven.org/maven2%5D
    !STACK 0
    org.apache.maven.archetype.exception.UnknownArchetype: The desired archetype does not exist (org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE)
    at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:114)
    at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:290)
    at org.apache.maven.archetype.DefaultArchetype.generateProjectFromArchetype(DefaultArchetype.java:75)
    at org.maven.ide.eclipse.project.BuildPathManager.createArchetypeProject(BuildPathManager.java:1359)
    at com.genuitec.eclipse.maven.wizards.MavenLibraryProjectWizard$1.runInWorkspace(MavenLibraryProjectWizard.java:84)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    </stack trace>

    <Installation Summary>

    *** Date:
    Thursday, September 4, 2008 2:09:56 PM IST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.5.1 GA
    Build id: 6.5.1-GA-20080715

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.5.1 GA
    Build id: 6.5.1-GA-20080715

    Eclipse Platform

    Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
    Build id: M20080221-1800

    Eclipse RCP

    Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
    Build id: M20080221-1800

    Eclipse Java Development Tools

    Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
    Build id: M20080221-1800

    Eclipse Plug-in Development Environment

    Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
    Build id: M20080221-1800

    Eclipse Project SDK

    Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
    Build id: M20080221-1800

    Eclipse Graphical Editing Framework

    Version: 3.3.2.v20080129
    Build id: 20080221-1602

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    D:\MyInstallations\MyEclipse 6.5\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    D:\MyInstallations\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
    -startup
    D:\MyInstallations\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
    -exitdata
    c68_48
    -clean
    -vm
    D:\MyInstallations\MyEclipse 6.5\jre\bin\javaw.exe
    </Installation Summary>

    #288780 Reply

    Loyal Water
    Member

    Did you setup any other plugins with MyEclipse ? Have you tried using the -clean command line argument to fix this issue? You should try it incase you haven’t already tried it:-
    https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/

    Let me know if the problem persists.

    #288784 Reply

    Hi Nipun,
    Tried the eclipse -clean option but still the problem persists. Havent installed any additional plugins. Do let me know if you need anymore info.
    Thanks for the prompt reply … appreciate!!!

    thanks & regards,
    /Siddhartha

    #288812 Reply

    Hi Nipun,
    Can this issue be resolved … If not then will have to make do with normal Java project option.

    P.S. I had also sent you pm on the same
    thanks & regards,
    /Siddhartha

    #288827 Reply

    Loyal Water
    Member

    Siddhartha,
    I’m sorry for the delay in replying to your post. I was trying to get my team to reproduce this issue at our end. There was a user who ran into a similar issue a while back and switching to a new workspace did the trick for him. You could try it as well. Go to File > Switch Workspace > Temp and after switching to a new workspace, try creating a new Maven Java Project. Does the issue persist?

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Creating New Java Maven Project Failing

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