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

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

mybatis-generator生成失敗

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

[INFO] BUILD FAILURE

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

[INFO] Total time: 4.599 s

[INFO] Finished at: 2018-12-24T16:22:13+08:00

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

[ERROR] No plugin found for prefix 'mybaits-generator' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:\maven\repo), nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public)] -> [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/NoPluginFoundForPrefixException


Process finished with exit code 1

https://img1.sycdn.imooc.com//5c20988600011ac106930543.jpg

該配置的都配置了啊!為什么匯報插件不存在?

正在回答

4 回答

1樓解決了么,我也遇到這個問題了

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

在maven的settings.xml里加一些配置試試,具體加什么配置參考這個http://www.360doc.com/content/14/0106/17/1332348_343100544.shtml ? ????????????????????????????????????????????
?? ?????????????????????????????????????????????

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

試了樓上的,沒用

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

clean之后試試這個

<build>

<plugins>

<plugin>

? ?<groupId>org.springframework.boot</groupId>

? ?<artifactId>spring-boot-maven-plugin</artifactId>

? ?<configuration>??

? ? ? ? ? ? ? ? ? ? ? <configurationFile>src/main/resources/mybatis-generator.xml</configurationFile>??

? ? ? ? ? ? ? ? ? ? ? <overwrite>true</overwrite>??

? ? ? ? ? ? ? ? ? ?</configuration>

</plugin>

? ? ? ? ? ? ?<!-- 自動生成代碼插件 -->

? ? ? ? ? ? ?<plugin>

? ? ? ? ? ? ? ? <groupId>org.mybatis.generator</groupId>

? ? ? ? ? ? ? ? <artifactId>mybatis-generator-maven-plugin</artifactId>

? ? ? ? ? ? ? ? <version>1.3.0</version>

? ? ? ? ? ? ? ? <configuration>

? ? ? ? ? ? ? ? ? ? <verbose>true</verbose>

? ? ? ? ? ? ? ? ? ? <overwrite>true</overwrite>

? ? ? ? ? ? ? ? </configuration>

? ? ? ? ? ? ? ? <dependencies>

? ? ? ? ? ? ? ? ? ? <dependency>

? ? ? ? ? ? ? ? ? ? ? ? <groupId>mysql</groupId>

? ? ? ? ? ? ? ? ? ? ? ? <artifactId>mysql-connector-java</artifactId>

? ? ? ? ? ? ? ? ? ? ? ? <version>5.1.6</version>

? ? ? ? ? ? ? ? ? ? </dependency>

? ? ? ? ? ? ? ? ? ? <dependency>

? ? ? ? ? ? ? ? ? ? ? ? <groupId>org.mybatis.generator</groupId>

? ? ? ? ? ? ? ? ? ? ? ? <artifactId>mybatis-generator-core</artifactId>

? ? ? ? ? ? ? ? ? ? ? ? <version>1.3.1</version>

? ? ? ? ? ? ? ? ? ? </dependency>

? ? ? ? ? ? ? ? ? ? <dependency>

? ? <groupId>log4j</groupId>

<artifactId>log4j</artifactId>

<version>1.2.17</version>

? ? </dependency>

? ? ? ? ? ? ? ? </dependencies>

? ? ? ? ? ? </plugin>

</plugins>

</build>

---------------------?

作者:pc994?

來源:CSDN?

原文:https://blog.csdn.net/pc994/article/details/79848291?

版權聲明:本文為博主原創文章,轉載請附上博文鏈接!


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

舉報

0/150
提交
取消
SpringBoot構建電商基礎秒殺項目
  • 參與學習       49408    人
  • 解答問題       978    個

應用SpringBoot快速搭建擁有用戶、商品、交易及秒殺活動的電商秒殺應用。

進入課程

mybatis-generator生成失敗

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

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

幫助反饋 APP下載

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

公眾號

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