Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Cannot enable Maven on a java project

I updated my RAD 8.0.3 m2e to v1.1.0.20111108-0328 and that may have broken something.

 

On a plain java project I’m trying to enable Maven, but get this error.

 

!MESSAGE An internal error occurred during: "Enabling Maven Dependency Management".

!STACK 0

java.lang.NullPointerException

            at org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.getMavenPluginEmbeddedMetadataSources(Unknown Source)

            at org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.getProjectMetadataSources(Unknown Source)

            at org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.calculateEffectiveLifecycleMappingMetadata(Unknown Source)

            at org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.calculateLifecycleMapping(Unknown Source)

            at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.setupLifecycleMapping(Unknown Source)

            at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(Unknown Source)

            at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(Unknown Source)

            at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(Unknown Source)

            at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.configureNewMavenProject(Unknown Source)

            at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.enableMavenNature(Unknown Source)

            at org.eclipse.m2e.core.ui.internal.actions.EnableNatureAction$1.run(Unknown Source)

            at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

Med vennlig hilsen

Bjørn Willy Arntzen
Seniorkonsulent



Kommunal Landspensjonskasse
gjensidig forsikringsselskap
Dronning Eufemias gate 10, 0191 Oslo, Pb 400, Sentrum, 0103 Oslo
Mob: +4797759007 
www.klp.no


Back to the top