Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
siddharthachandurkar
Post subject: Creating New Java Maven Project Failing  PostPosted: Sep 04, 2008 - 09:44 AM



Joined: Sep 04, 2008
Posts: 3

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]
!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]
!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>
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Creating New Java Maven Project Failing  PostPosted: Sep 04, 2008 - 03:06 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5657

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:-
http://www.myeclipseide.com/PNphpBB2-viewtopic-t-10280.html

Let me know if the problem persists.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
siddharthachandurkar
Post subject: RE: Creating New Java Maven Project Failing  PostPosted: Sep 04, 2008 - 04:15 PM



Joined: Sep 04, 2008
Posts: 3

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
 
 View user's profile Send private message  
Reply with quote Back to top
siddharthachandurkar
Post subject: RE: Creating New Java Maven Project Failing  PostPosted: Sep 05, 2008 - 06:20 AM



Joined: Sep 04, 2008
Posts: 3

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
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Creating New Java Maven Project Failing  PostPosted: Sep 05, 2008 - 04:54 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5657

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?

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits