Maven編譯elasticsearch-analysis-ik報錯
Linux7.4下使用Maven編譯打包elasticsearch-analysis-ik-1.8.1.zip,執行:mvn package時報錯,借"u012348345"部落格圖一用:
執行
unzip elasticsearch-analysis-ik-1.8.1.zip -d ik
cd ik
mvn package
果斷報錯:
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/elasticsearch/ik). 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
報錯原因:
執行mvn package的目錄缺少pom.xml檔案
分析(報錯是必然的):
上圖教程中
unzip elasticsearch-analysis-ik-1.8.1.zip -d ik
執行後目錄如下:
/../ik/elasticsearch-analysis-ik-1.8.1
cd ik
並沒有進入elasticsearch-analysis-ik-1.8.1目錄下
ll
elasticsearch-analysis-ik-1.8.1(僅此資料夾)
需要進入elasticsearch-analysis-ik-1.8.1目錄再mvn package
實操:
unzip elasticsearch-analysis-ik-1.8.1.zip
cd elasticsearch-analysis-ik-1.8.1
mvn package
相關文章
- maven 混合編譯 java/scala 程式碼報錯(qbit)Maven編譯Java
- 專案編譯報錯編譯
- Lombok 的@ToString導致的Maven編譯錯誤LombokMaven編譯
- IDEA報錯java: 編譯失敗: 內部 java 編譯器錯誤IdeaJava編譯
- 樹莓派編譯OpenCV報錯樹莓派編譯OpenCV
- Lombok編譯器Maven外掛Lombok編譯Maven
- 【maven】Maven報錯 zip END header not foundMavenHeader
- 編譯icedTea-web報錯填坑之旅編譯Web
- flutter 編譯報錯總結(不斷更新)Flutter編譯
- vc-vs2019編譯報錯總結編譯
- iOS FFmpeg XCode編譯報錯問題 AVMediaTypeiOSXCode編譯
- node-sass生產環境編譯報錯編譯
- 麒麟伺服器在編譯Nginx時報錯伺服器編譯Nginx
- AndroidStudio編譯時報錯Error:Please select Android SDKAndroid編譯Error
- Mingw GCC 編譯OpenCV報錯: Project files may be invalidGC編譯OpenCVProject
- ipvs編譯錯誤編譯
- qt編譯報錯 無法執行“rc.exe”QT編譯
- Android將Jar放入libs目錄下編譯報錯AndroidJAR編譯
- kaldi的編譯安裝與報錯解決方法編譯
- 編譯Redis時報錯: jemalloc/jemalloc.h: No such file or directory編譯Redis
- [求教] jmeter5.3 原始碼編譯報 autostyleKotlinCheck 錯誤JMeter原始碼編譯Kotlin
- QT中文編譯出錯QT編譯
- idea 報錯maven [ERROR] Maven execution terminated abnormally (exit code 1)IdeaMavenErrorORM
- vscode+C 編譯除錯VSCode編譯除錯
- dva使用yarn編譯出錯Yarn編譯
- C編譯: 使用gdb除錯編譯除錯
- opencv 編譯常見錯誤OpenCV編譯
- ESP32 編譯報錯 57) boot: no bootable app partitions in the partition table編譯bootAPP
- IntelliJ IDEA編譯專案報錯 "xxx包不存在&qIntelliJIdea編譯
- 解決eclipse的maven依賴報錯EclipseMaven
- Maven專案報錯:No bean named 'xxxxxx' availableMavenBeanAI
- kubernetes下jenkins實戰maven專案編譯構建JenkinsMaven編譯
- Android編譯通過,執行編譯錯誤問題總結Android編譯
- maven編譯遇到"編碼GBK的不可對映字元"警告的處理Maven編譯字元
- __cxa_pure_virtual報錯(g++編譯虛擬函式時)編譯函式
- Android Studio 解決編譯報錯 Could not download aapt2-windows.jarAndroid編譯APTWindowsJAR
- 使用VS2015從TFS獲取專案後編譯報錯編譯
- 求助 :ubuntu 編譯核心後(make -jn),sudo make modules_install報錯Ubuntu編譯