亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

報這個是什么原因?version can neither be null, empty nor blank

[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available

[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced

[INFO]? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

[INFO] ------------------------------------------------------------------------

[INFO] Building seconds 1.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available

[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced

[INFO]?

[INFO] --- mybatis-generator-maven-plugin:1.3.5:generate (default-cli) @ seconds ---

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1.194 s

[INFO] Finished at: 2019-02-15T00:21:46+08:00

[INFO] Final Memory: 20M/226M

[INFO] ------------------------------------------------------------------------

[ERROR] version can neither be null, empty nor blank

[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.


正在回答

4 回答

是不是你再引用maven依賴的時候沒有指明版本號<version></version>?

0 回復 有任何疑惑可以回復我~

我也遇到了這個問題,在 pom.xml 文件里添加版本號解決的。

在兩個?mysql-connector-java(一個在dependency中,另一個在plugin的dependency中) 中分別添加版本號即可,我這里對應的是<version>8.0.26</version>

0 回復 有任何疑惑可以回復我~

給mybaits-connector-java添加版本號

0 回復 有任何疑惑可以回復我~

老師這種用maven命令的方式我真找不出原因,不是版本沒配置……

我用的是Java類寫的方法執行,然后生成了對應的文件。

謝謝啦!

0 回復 有任何疑惑可以回復我~
#1

qq_一曲離殤丶笑看人世繁華_3

我也遇到這個問題,怎么解決啊
2019-03-25 回復 有任何疑惑可以回復我~
#2

晴顏 提問者 回復 qq_一曲離殤丶笑看人世繁華_3

我沒用老師這種方式,是寫一個Java類執行來逆向生成的。maven可能環境變量沒配置正確
2019-04-09 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

報這個是什么原因?version can neither be null, empty nor blank

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號