Jahia Install Forum > Failed to create...

0 (0 Good)
0 (0 Bad)

Failed to create jahia project in eclipse

by  vnarayanapv »  2011/06/07 20:56

when i try to create a new project,after providing the archetype details and click finish eclipse giving an error saying that "failed to create a project".
Iam using the follwoing versions
1.jdk1.6
2.eclipse Galileo.
3.maven2.

the error iam getting is...

null
Error
Thu Jun 24 17:05:19 IST 2010
Failed to create project.

java.lang.NullPointerException
at org.apache.maven.artifact.repository.DefaultArtifactRepositoryFactory.createArtifactRepository(DefaultArtifactRepositoryFactory.java:90)
at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.resolveArchetype(ProjectConfigurationManager.java:540)
at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.createArchetypeProject(ProjectConfigurationManager.java:463)
at org.maven.ide.eclipse.wizards.MavenProjectWizard$5.runInWorkspace(MavenProjectWizard.java:279)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Please help me to figure out the error.

  (vnarayanapv)

Number of messages  1
Registration date
0 (0 Good)
0 (0 Bad)

Re: Failed to create jahia project in eclipse

by  pap@commaro.com »  2011/06/07 20:56

Hello,

I already posted the answer for that in the forum here: viewtopic.php?f=12&t=307&p=1009&hilit=archetype+Eclipse#p1013 

Unfortunately there is still no official release of the 0.10.1 or 0.10.2 M2ECLIPSE plugin, but now as Eclipse 3.6 has been released this week, I expect that M2ECLIPSE should also be released very soon. So either you step back to a 0.9.x release or build a 0.10.2 SNAPSHOT out of the M2Eclipse Sonatype code repository yourself: https://docs.sonatype.org/display/M2ECL ... oper+Guide

Regards,
Benjamin

Benjamin Papez (pap@commaro.com)

Number of messages  220
Registration date
Contact
Share
Feedback

Get in touch

Whether you are a current user or if you are just evaluating Jahia, we are here to help.

Contact us

Share this page