Announcement Announcement Module
Collapse
No announcement yet.
Cannot update maven project Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cannot update maven project

    When I try update imported maven project I receive:

    An internal error occurred during: "Updating maven projects ".

    Stack trace:

    java.lang.IllegalArgumentException: Unsupported IClasspathEntry kind=4
    at org.eclipse.m2e.jdt.internal.ClasspathEntryDescrip tor.toClasspathEntry(ClasspathEntryDescriptor.java :131)
    at org.eclipse.m2e.jdt.internal.ClasspathDescriptor.g etEntries(ClasspathDescriptor.java:134)
    at org.eclipse.m2e.jdt.internal.AbstractJavaProjectCo nfigurator.configure(AbstractJavaProjectConfigurat or.java:141)
    at org.eclipse.m2e.core.project.configurator.Abstract LifecycleMapping.configure(AbstractLifecycleMappin g.java:109)
    at org.eclipse.m2e.core.internal.project.ProjectConfi gurationManager.updateProjectConfiguration(Project ConfigurationManager.java:414)
    at org.eclipse.m2e.core.internal.project.ProjectConfi gurationManager.updateProjectConfiguration(Project ConfigurationManager.java:351)
    at org.eclipse.m2e.core.internal.project.ProjectConfi gurationManager.updateProjectConfiguration(Project ConfigurationManager.java:279)
    at org.eclipse.m2e.core.internal.project.ProjectConfi gurationManager.updateProjectConfiguration(Project ConfigurationManager.java:268)
    at org.maven.ide.eclipse.wtp.internal.preferences.Mav enWtpPreferencePage$3.runInWorkspace(MavenWtpPrefe rencePage.java:293)
    at org.eclipse.core.internal.resources.InternalWorksp aceJob.run(InternalWorkspaceJob.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.j ava:54)
    What the reason? Does exist workaround? Thanks.

  • #2
    Hey!

    This sounds a lot like this problem:
    http://stackoverflow.com/questions/1...thentry-kind-4

    HTH,
    Martin

    Comment


    • #3
      Martin, shouldn't this issue "kind=var" be fixed in STS? Why not support it?

      Thanks

      Comment


      • #4
        Hey!

        The issue is with the Maven Integration for Eclipse:
        https://bugs.eclipse.org/bugs/show_bug.cgi?id=394042

        So we cannot fix this ourselves directly in STS. In the meantime, I hope the workaround described at stackoverflow helps!

        Cheers,
        -Martin

        Comment

        Working...
        X