JavaShuo
欄目
標籤
The goal you specified requires a project to execute but there is no POM in this directory
時間 2021-07-14
標籤
後端開發語言
欄目
Maven
简体版
原文
原文鏈接
Maven項目打包 mvn -U package -DskipTests 時碰過這個錯誤。 看錯誤日誌提示,我們知道「/Users/anan/ws/BBKTest」這個路徑下找不到pom.xml文件,可是我的工程不是在這個路徑下,爲什麼還是報錯,所以我就嘗試直接進入工程文件夾,執行mvn test,發現可以正常啓動maven工程項目了,原來「mvn test」這個命令就是在當前文件夾下找pom.x
>>阅读原文<<
相關文章
1.
The goal you specified requires a project to execute but there is no POM in this directory
2.
maven報錯 the goal you specified requires a project to execute but there is no POM in this direct...
3.
解決The goal you specified requires a project to execute but there is no POM in this directory錯誤的一種方法!
4.
mvn package時報錯The goal you specified requires a project to execute but there is no POM in this
5.
mvn package 命令 報錯 The goal you specified requires a project to execute but there is no POM in this d
6.
maven骨架報錯:but there is no POM in this directory
7.
No compiler is provided in this environment. Perhaps you are running on a JR
8.
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
9.
No compiler is provided in this environment. Perhaps you are running on a JRE ra
10.
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK
更多相關文章...
•
Maven POM
-
Maven教程
•
PDOStatement::execute
-
PHP參考手冊
•
Kotlin學習(一)基本語法
•
Java 8 Stream 教程
相關標籤/搜索
specified
requires
pom
goal
directory
execute
the way to go
project
PRIMES is in P
a'+'a
Maven
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
1.2 Illustrator多文檔的幾種排列方式
2.
5.16--java數據類型轉換及雜記
3.
性能指標
4.
(1.2)工廠模式之工廠方法模式
5.
Java記錄 -42- Java Collection
6.
Java記錄 -42- Java Collection
7.
github使用
8.
Android學習筆記(五十):聲明、請求和檢查許可
9.
20180626
10.
服務擴容可能引入的負面問題及解決方法
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
The goal you specified requires a project to execute but there is no POM in this directory
2.
maven報錯 the goal you specified requires a project to execute but there is no POM in this direct...
3.
解決The goal you specified requires a project to execute but there is no POM in this directory錯誤的一種方法!
4.
mvn package時報錯The goal you specified requires a project to execute but there is no POM in this
5.
mvn package 命令 報錯 The goal you specified requires a project to execute but there is no POM in this d
6.
maven骨架報錯:but there is no POM in this directory
7.
No compiler is provided in this environment. Perhaps you are running on a JR
8.
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
9.
No compiler is provided in this environment. Perhaps you are running on a JRE ra
10.
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK
>>更多相關文章<<