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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via YouTrack by Unknown author, 1 year ago
org.apache.maven.execution.MavenSession.setAllProjects(Ljava/util/List;)V
java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.setAllProjects(Ljava/util/List;)V
at org.jetbrains.idea.maven.server.Maven32ServerEmbedderImpl.loadExtensions(Maven32ServerEmbedderImpl.java:807)
at org.jetbrains.idea.maven.server.Maven32ServerEmbedderImpl.access$400(Maven32ServerEmbedderImpl.java:114)
at org.jetbrains.idea.maven.server.Maven32ServerEmbedderImpl$3.run(Maven32ServerEmbedderImpl.java:661)
at org.jetbrains.idea.maven.server.Maven32ServerEmbedderImpl.executeWithMavenSession(Maven32ServerEmbedderImpl.java:603)
at org.jetbrains.idea.maven.server.Maven32ServerEmbedderImpl.doResolveProject(Maven32ServerEmbedderImpl.java:622)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.