org.apache.maven.lifecycle.MissingProjectException: The goal you specified requires a project to execute but there is no POM in this directory (.). Please verify you invoked Maven from the correct directory.

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by MrStack
, 2 years ago
The goal you specified requires a project to execute but there is no POM in this directory (E:\). Please verify you invoked Maven from the correct directory.
via Stack Overflow by John G
, 1 year ago
The goal you specified requires a project to execute but there is no POM in this directory (.). Please verify you invoked Maven from the correct directory.
via GitHub by shhan
, 1 year ago
The goal you specified requires a project to execute but there is no POM in this directory (/home/scidb/rpmbuild/BUILD/yamcs-0.29.5+r1c64291/yamcs-web). Please verify you invoked Maven from the correct directory.
via GitHub by amarzavery
, 2 years ago
The goal you specified requires a project to execute but there is no POM in this directory (d:\sdk \swagger-codegen). Please verify you invoked Maven from the correct directory.
via GitHub by 19Amund
, 6 months ago
The goal you specified requires a project to execute but there is no POM in this directory (/home/pi/Desktop/alexa-avs-sample-app). Please verify you invoked Maven from the correct directory.
via Stack Overflow by toom
, 2 years ago
The goal you specified requires a project to execute but there is no POM in this directory (/Users/Tom/Downloads/snappy-1.1.2). Please verify you invoked Maven from the correct directory.
org.apache.maven.lifecycle.MissingProjectException: The goal you specified requires a project to execute but there is no POM in this directory (.). Please verify you invoked Maven from the correct directory.
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:89)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
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:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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