孤独流浪者456
2019-05-16 16:15
D:\JDK\bin\java.exe -Dmaven.multiModuleProjectDirectory=D:\miaosha -DarchetypeCatalog=local -Dmaven.home=D:\apache-maven-3.5.0 -Dclassworlds.conf=D:\apache-maven-3.5.0\bin\m2.conf "-javaagent:D:\IDEA\IntelliJ IDEA 2019.1.2\lib\idea_rt.jar=1314:D:\IDEA\IntelliJ IDEA 2019.1.2\bin" -Dfile.encoding=UTF-8 -classpath D:\apache-maven-3.5.0\boot\plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version2019.1.2 --update-snapshots -s D:\apache-maven-3.5.0\conf\settings.xml mybatis-generator:generate
[INFO] Scanning for projects...
Downloading: http://maven.aliyun.com/nexus/content/repositories/central/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.pom
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
Downloading: http://maven.aliyun.com/nexus/content/repositories/central/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.jar
[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: Could not find artifact org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in alimaven (http://maven.aliyun.com/nexus/content/repositories/central/)
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building miaosha 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 http://maven.aliyun.com/nexus/content/repositories/central/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced
[INFO]
[INFO] --- mybatis-generator-maven-plugin:1.3.5:generate (default-cli) @ miaosha ---
[INFO] Connecting to the Database
Thu May 16 16:03:34 CST 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.159 s
[INFO] Finished at: 2019-05-16T16:03:35+08:00
[INFO] Final Memory: 21M/51M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5:generate (default-cli) on project miaosha: Unknown character set: 'utf8mb4' -> [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/MojoExecutionException
Process finished with exit code 1
额,报错有些不一样
我也是这个问题,请问怎么解决的?
MySQL在5.5.3之后增加了这个utf8mb4的编码,我们使用之前的JDBC jar版本。改变使用JDBC jar包的版本,将正在使用的jar包改变为 mysql-connector-java-5.1.6-bin.jar
SpringBoot构建电商基础秒杀项目
49065 学习 · 954 问题
相似问题