facebook

Error when creating simple Java Maven Project

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

    mangelo123
    Participant

    Just downloaded 7.1.1. It actually installed!!!!!

    I tried to create a simple Java Maven Project and received the following:

    Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-quickstart:1.0-alpha-4 -> http://repo1.maven.org/maven2/%5D
    The desired archetype does not exist (org.apache.maven.archetypes:maven-archetype-quickstart:1.0-alpha-4)

    #296703 Reply

    Loyal Water
    Member

    Did you setup MyEclipse using the All in One installer? Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    #296704 Reply

    mangelo123
    Participant

    Yes. I used the all-in-one. Here are the install details:

    
    *** Date: 
    Wednesday, March 25, 2009 10:22:51 AM EDT
    
    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.5.0_11
    
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 7.1.1
    Build id: 7.1.1-20090310
    
    
    *** Eclipse details:
    MyEclipse Enterprise Workbench
    
    Version: 7.1.1
    Build id: 7.1.1-20090310
    
    
    
    
    
    
    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\Genuitec\MyEclipse 7.1\myeclipse.exe
    -name
    Myeclipse
    --launcher.library
    C:\Program Files\Genuitec\MyEclipse 7.1\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
    -startup
    C:\Program Files\Genuitec\MyEclipse 7.1\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
    -clean
    -configuration
    configuration
    -vm
    C:\Program Files\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll
    
    #296766 Reply

    Loyal Water
    Member

    If you noticed, in a clean install of MyEclipse, when you go create a project with Maven capabilities there is a ton of activity that fires off in the background in the console view. All that activity is Maven initializing it’s local repository, if Maven cannot get online, all that fails and the Java archetype for that project cannot be created.
    Do you have a limited network connectivity environment (either offline or with a proxy) ? That could be the issue

    #297477 Reply

    vvvngo
    Participant

    I have the same problem using the MyEclipse 7.1.1 Manual Updates. To work around this, I had to create a regular Java project and then modify the .project file to make it work.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Error when creating simple Java Maven Project

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