Maven - Non-resolvable parent POM: Failure to find xx:xx:pom
一、異常
使用 Maven 編譯工程時出現該異常
[ERROR] Non-resolvable parent POM: Failure to find com.xl:sys-parent:pom:1.0.0-SNAPSHOT in <url> was cached in the local repository,
resolution will not be reattempted until the update interval of wonbox has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM
二、方案 此因 parent.relativePath 出錯,可用 <relativePath/> 指定正確的父 pom 路徑,預設為../pom.xml
<parent>
<groupId>com.xl</groupId>
<artifactId>sys-parent</artifactId>
<version>1.0.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
相關文章
- Maven:Non-resolvable parent POM: Failure to find錯誤MavenAI
- maven專案構建報錯:Could not find artifact com.xxx.cloud:xxx-cloud:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POMMavenCloud
- Maven中pom.xml解析MavenXML
- Maven中POM專案物件模型Maven物件模型
- eclipse建maven pom報錯EclipseMaven
- Maven的pom檔案那些事Maven
- Maven的POM檔案parent節點不可以使用properties裡面的變數Maven變數
- vue Cannot find module @/xxx/xxx.ts or its corresponding typeVue
- Maven 教程之 pom.xml 詳解MavenXML
- Maven中的pom.xml詳解MavenXML
- J2SE - Could not find the main class: xxx.xxx.Program will exitAI
- 解決Maven專案pom.xml檔案報xxx\target\classes\META-INF\MANIFEST.MF (系統找不到指定的路徑。)問題MavenXML
- Maven專案報錯:No bean named 'xxxxxx' availableMavenBeanAI
- [20171031]rman xxx Failure.txtAI
- Vue Router Cannot find module 'XXX.vue'Vue
- Maven的pom.xml檔案詳解MavenXML
- 建立Maven專案出錯 pom出錯Maven
- Maven pom.xml檔案配置詳解MavenXML
- netbackup RMAN-03009: failure of allocate command on XXXX channelAI
- 新建maven專案pom報錯的問題Maven
- 使用maven搭建hibernate的pom檔案配置Maven
- maven的pom檔案的所有元素的用法。Maven
- Authentication failure 以及xxx is not in the sudoers file 問題的解決辦法AI
- maven專案打包時生成dependency-reduced-pom.xmlMavenXML
- maven的pom.xml用解決版本問題MavenXML
- Python改寫maven的pom.xml檔案PythonMavenXML
- 【SSM整合】-Maven管理SSM框架的pom.xml配置SSMMaven框架XML
- Maven實戰:pom.xml與settings.xmlMavenXML
- Maven快速入門(四)Maven中的pom.xml檔案詳解MavenXML
- Java程式中使用XXXX-XX-XX XX:XX:XX格式的日期Java
- maven 在pom檔案下配置預設的jdk版本MavenJDK
- Error querying database. XXXXXXXXXXXXX, No database selected。ErrorDatabase
- C++ vector<std::tuple<XXX, XXX, XXX>>C++
- Internal Error with background job scheduling XXXXXXXXXXXXX.Error
- could not connect to redis Instance at xxx.xxx.xxx.xxx:6379Redis
- // @require file://C:xxxxxxxxx.jsUIJS
- Error building Player: Win32Exception: ApplicationName=‘xxxxxxxxxxxxxxxxxx//sdk\tools\zipalign.exe' ...ErrorUIWin32ExceptionAPP
- mysql Incorrect key file for table ‘/xxxxxxxx/xxxx.MYI'; try to repair itMySqlAI