windows下添加maven失败的问题

记一下吧,平时用powershell用习惯了,已经错过很多次了

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.888 s
[INFO] Finished at: 2088-88-88T8:88:88+88:88
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (H:\sqljdbc\sqljdbc_6.0\chs\jre8). Please verify you 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 about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException

主要就是因为用了powershell,换成cmd就好了

猜你喜欢

转载自blog.csdn.net/txwdzxq/article/details/81588004
今日推荐