java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.setAllProjects(Ljava/util/List;)V

YouTrack | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Maven Projects window shows incorrect or erroring dependencies, though project builds correctly

    YouTrack | 11 months ago
    java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.setAllProjects(Ljava/util/List;)V

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.maven.execution.MavenSession.setAllProjects(Ljava/util/List;)V

      at org.jetbrains.idea.maven.server.Maven32ServerEmbedderImpl.loadExtensions()
    2. JetBrains idea
      Maven32ServerEmbedderImpl.resolveProject
      1. org.jetbrains.idea.maven.server.Maven32ServerEmbedderImpl.loadExtensions(Maven32ServerEmbedderImpl.java:807)
      2. org.jetbrains.idea.maven.server.Maven32ServerEmbedderImpl.access$400(Maven32ServerEmbedderImpl.java:114)
      3. org.jetbrains.idea.maven.server.Maven32ServerEmbedderImpl$3.run(Maven32ServerEmbedderImpl.java:661)
      4. org.jetbrains.idea.maven.server.Maven32ServerEmbedderImpl.executeWithMavenSession(Maven32ServerEmbedderImpl.java:603)
      5. org.jetbrains.idea.maven.server.Maven32ServerEmbedderImpl.doResolveProject(Maven32ServerEmbedderImpl.java:622)
      6. org.jetbrains.idea.maven.server.Maven32ServerEmbedderImpl.resolveProject(Maven32ServerEmbedderImpl.java:554)
      6 frames
    3. Java RT
      Thread.run
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      5. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
      6. sun.rmi.transport.Transport$1.run(Transport.java:200)
      7. sun.rmi.transport.Transport$1.run(Transport.java:197)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. sun.rmi.transport.Transport.serviceCall(Transport.java:196)
      10. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
      11. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
      12. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(TCPTransport.java:683)
      13. java.security.AccessController.doPrivileged(Native Method)
      14. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
      15. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      16. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      17. java.lang.Thread.run(Thread.java:745)
      17 frames