The goal you specified requires a project to execute but there are no POM in this directory

Source: Internet
Author: User
Tags stack trace

 [info "Scanning for projects ... [INFO]------------------------------------------------------------------------[INFO] BUILD Failure[info]-------- ----------------------------------------------------------------[INFO] Total time:0.169 s[info] finished at: 2015-07-06t12:21:24+08:00[info] Final Memory:4m/119m[info]------------------------------------------------------ ------------------[ERROR] The goal specified requires a project to execute but there are no POM in this directory (c:\u Sers\administrator). Please verify your invoked Maven from the correct directory. "Help 1][error][error" to see the full stack trace of the errors, re-run Maven with THE-E switch. [ERROR] Re-run Maven using The-x switch to enable full debug logging. [ERROR] [ERROR] For more information on the errors and possible solutions, please read the following articles:[error] [Help 1] http://c Wiki.apache.org/confluence/display/maven/missingprojectexception  

Recently learned to use MAVEN, and then in the cmd command "maven Test E:maventest", running Project Project when you touch this error, look at the error log prompt, we know "C:\Users\Administrator" This path can not find the Pom.xml file, but my project is not in this path and I also specified the project path, why or error, so I try to directly into the project folder, execute MVN test, found that the MAVEN project could normally start, the original "MVN test" This command is to find the Pom.xml file under the current folder and execute

The goal you specified requires a project to execute but there are no POM in this directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.