点击generator生成文件报错,一直找不到原因
来源:5-10 mybatis三剑客之mybatis-generator生成数据对象和时间戳优化
qq_慕桂英1446211
2021-01-28
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.446s
[INFO] Finished at: Thu Jan 28 18:23:23 CST 2021
[INFO] Final Memory: 12M/491M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project mmall: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate failed: Cannot resolve classpath entry: /Users/huxiaojian/IdeaProjects/mmall/src/main/resources -> [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/PluginExecutionException
1回答
-
qq_慕桂英1446211
提问者
2021-01-28
db.driverLocation=/Users/huxiaojian/Library/Preferences/IntelliJIdea15/jdbc-drivers/mysql-connector-java-5.1.6.jar
db.driverClassName=com.mysql.jdbc.Driver
db.url=jdbc:mysql:///mmall_learning?characterEncoding=utf8
db.username=root
db.password=123这样配置了,但是还是出错,求救
012021-01-28
相似问题