日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) >

maven中出现 ‘dependencies.dependency.version‘ for xxxx:jar is missing

發(fā)布時(shí)間:2023/12/31 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 maven中出现 ‘dependencies.dependency.version‘ for xxxx:jar is missing 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

mvn clean后,出現(xiàn)下面的log


[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for org.slf4j:slf4j-nop:jar is missing. @ com.henry.flink:DataClean:[unknown-version], /home/appleyuchi/桌面/Flink_Code/flink清洗數(shù)據(jù)案例/FlinkProj/DataClean/pom.xml, line 57, column 21
?@?
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR] ??
[ERROR] ? The project com.henry.flink:DataClean:1.0-SNAPSHOT (/home/appleyuchi/桌面/Flink_Code/flink清洗數(shù)據(jù)案例/FlinkProj/DataClean/pom.xml) has 1 error
[ERROR] ? ? 'dependencies.dependency.version' for org.slf4j:slf4j-nop:jar is missing. @ com.henry.flink:DataClean:[unknown-version], /home/appleyuchi/桌面/Flink_Code/flink清洗數(shù)據(jù)案例/FlinkProj/DataClean/pom.xml, line 57, column 21
[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/ProjectBuildingException

Process finished with exit code 1

?

原因:

這個(gè)原因是因?yàn)楦竝om中定義了子pom中的版本,

當(dāng)刪除 父pom中的內(nèi)容時(shí),就會(huì)導(dǎo)致子pom所在的工程執(zhí)行mvn出現(xiàn)上述版本消失的報(bào)錯(cuò)。

總結(jié)

以上是生活随笔為你收集整理的maven中出现 ‘dependencies.dependency.version‘ for xxxx:jar is missing的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。