Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5:generate (default-cli) on project miaosha: Unknown database 'miaosha' -> [Help 1]
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5:generate (default-cli) on project miaosha: Unknown database 'miaosha' -> [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
2019-01-17
數據庫建了嗎?名字是不是miaosha
2019-01-17
名字寫錯了
2019-01-17
沒有miaosha這個數據庫
2019-01-17
mybatis-generator-maven-plugin:1.3.5
更換版本為1.3.7即可,試試看,我也是這個問題