幻夜星空的幻灵
2019-03-07 10:07
[ERROR] No plugin found for prefix 'mybatis-generator' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\Administrator\.m2\repository), central (https://repo.maven.apache.org/maven2)] -> [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
请问解决了吗,我这样做也还是这样?
同事还要改application.properties里的文件
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/miaosha?serverTimezone=GMT&useSSL=false
mysql版本不一致 要改pom和mybatis-generator.xml中的部分内容
<dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>8.0.13</version> </dependency>
<jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://127.0.0.1:3306/miaosha?serverTimezone=GMT&useSSL=false" userId="root" password="root"> </jdbcConnection>
SpringBoot构建电商基础秒杀项目
49064 学习 · 954 问题
相似问题