mmm I think it's the first time I see this exception.
If you can reproduce it reliably, please create an issue in
https://issues.sonatype.org/browse/MECLIPSEWTP and attach your project's
eclipse config file + pom.xml

regards,

Fred Bricon

2011/8/12 Fabricio Lemos <[email protected]>

>
> On 10/8/2011 11:41, Fred Bricon wrote:
>
> Can you get more details on the exception you're getting?
> (<workspace>/.metadata/.log)
>
>
> This exception occurs after I import the project:
>
> !ENTRY org.eclipse.core.jobs 4 2 2011-08-12 11:23:37.552
> !MESSAGE An internal error occurred during: "Importing Maven projects".
> !STACK 0
> java.lang.IllegalArgumentException
>     at
> org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.addProjectFacet(FacetedProjectWorkingCopy.java:816)
>     at
> org.eclipse.wst.common.project.facet.core.internal.FacetedProject$1.run(FacetedProject.java:301)
>     at
> org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
>     at
> org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modify(FacetedProject.java:339)
>     at
> org.maven.ide.eclipse.wtp.WebProjectConfiguratorDelegate.configure(WebProjectConfiguratorDelegate.java:144)
>     at
> org.maven.ide.eclipse.wtp.AbstractProjectConfiguratorDelegate.configureProject(AbstractProjectConfiguratorDelegate.java:84)
>     at
> org.maven.ide.eclipse.wtp.WTPProjectConfigurator.configure(WTPProjectConfigurator.java:54)
>     at
> org.eclipse.m2e.core.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:72)
>     at
> org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:302)
>     at
> org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.configureNewMavenProject(ProjectConfigurationManager.java:234)
>     at
> org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.importProjects(ProjectConfigurationManager.java:150)
>     at
> org.eclipse.m2e.core.ui.internal.wizards.MavenImportWizard$1.doCreateMavenProjects(MavenImportWizard.java:164)
>     at
> org.eclipse.m2e.core.ui.internal.wizards.AbstractCreateMavenProjectsOperation.run(AbstractCreateMavenProjectsOperation.java:73)
>     at
> org.eclipse.m2e.core.ui.internal.wizards.MavenImportWizard$3.runInWorkspace(MavenImportWizard.java:249)
>     at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
>     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
>
> Does updating the maven configuration on your projects work after import?
>
>
> Strangely, it works only in the second time. The first time I run it, it
> shows: "Unable to update maven configuration for the following projects:
> solare-intranet" and still shows the error "Project configuration is not
> up-to-date with pom.xml".
> The second time, the message "Unable to update..." still shows, but the
> "Project configuration is not up-to-date..." is gone and the
> MAVEN2_CLASSPATH_CONTAINER warning appears.
>
> When I click to update project configuration, nothing appears in the
> console.
>
>
>
> 2011/8/10 Fabricio Lemos <[email protected]>
>
>>  I installed m2e 1.0.100 and imported an existing war project. I received
>> the error: "An internal error occurred during: "Importing Maven projects"
>> java.lang.IllegalArgumentException"
>>
>> And after I´m stuck with 
>> MECLIPSEWTP-125<https://issues.sonatype.org/browse/MECLIPSEWTP-125>but the 
>> workaround does not apply because I have an war project.
>>
>> Is there a fix or any other workaround?
>>
>> thanks,
>>  Fabricio Lemos
>>
>>
>> _______________________________________________
>> m2e-users mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/m2e-users
>>
>>
>
>
> --
> "Have you tried turning it off and on again" - The IT Crowd
>
>
> _______________________________________________
> m2e-users mailing 
> [email protected]https://dev.eclipse.org/mailman/listinfo/m2e-users
>
>
> _______________________________________________
> m2e-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>
>


-- 
"Have you tried turning it off and on again" - The IT Crowd
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to