Cannot resolve classpath entry

[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building HospitalApp 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- mybatis-generator-maven-plugin:1.3.2:generate (default-cli) @ HospitalApp ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.892 s
[INFO] Finished at: 2018-04-12T15:11:28+08:00
[INFO] Final Memory: 20M/224M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project HospitalApp: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate failed: Cannot resolve classpath entry: G:/nanjing/DC_CLOUD/20180123-ly/mysde/workspace/MAVEN2/mysql/mysql-connector-java/5.1.39/mysql-connector-java-5.1.39-bin.jar -> [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

Solution: It is best to use an absolute path, do not include Chinese
application.properties configuration added

jdbc.location=G:/nanjing/DC_CLOUD/20180123-ly/mysde/workspace/MAVEN2/mysql/mysql-connector-java/5.1.39/mysql-connector-java-5.1.39.jar

Guess you like

Origin blog.csdn.net/l3922768721/article/details/79914601