叶涙
2018-12-24 16:28
[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
该配置的都配置了啊!为什么汇报插件不存在?
1楼解决了么,我也遇到这个问题了
在maven的settings.xml里加一些配置试试,具体加什么配置参考这个http://www.360doc.com/content/14/0106/17/1332348_343100544.shtml
试了楼上的,没用
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
版权声明:本文为博主原创文章,转载请附上博文链接!
SpringBoot构建电商基础秒杀项目
49020 学习 · 954 问题
相似问题
回答 1