逆向工程一直都生成不出来,路径也没问题,具体该怎么解决成了大问题。急躁
来源:5-10 mybatis三剑客之mybatis-generator生成数据对象和时间戳优化
慕仔7258765
2019-07-01
“C:\Program Files\Java\jdk-11.0.2\bin\java” -Dmaven.multiModuleProjectDirectory=C:\Users\zzl\IdeaProjects\mmall -Dmaven.home=D:\Users\zzl\eclipse\apache-maven-3.5.0 -Dclassworlds.conf=D:\Users\zzl\eclipse\apache-maven-3.5.0\bin\m2.conf -Didea.launcher.port=54419 “-Didea.launcher.bin.path=D:\Program Files\IntelliJ IDEA 2017.3.4\bin” -Dfile.encoding=UTF-8 -classpath “D:\Users\zzl\eclipse\apache-maven-3.5.0\boot\plexus-classworlds-2.5.2.jar;D:\Program Files\IntelliJ IDEA 2017.3.4\lib\idea_rt.jar” com.intellij.rt.execution.application.AppMainV2 org.codehaus.classworlds.Launcher -Didea.version=2017.3.4 org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate [INFO] Scanning for projects… [WARNING] [WARNING] Some problems were encountered while building the effective model for com:mmall:war:1.0-SNAPSHOT [WARNING] ‘build.plugins.plugin.(groupId:artifactId)’ must be unique but found duplicate declaration of plugin org.mybatis.generator:mybatis-generator-maven-plugin @ line 264, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building mmall Maven Webapp 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] — mybatis-generator-maven-plugin:1.3.2:generate (default-cli) @ mmall — [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.450 s [INFO] Finished at: 2019-07-01T13:20:38+08:00 [INFO] Final Memory: 7M/30M [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: C:\Users\zzl\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 Process finished with exit code 1
1回答
-
geelylucky
2019-07-01
Cannot resolve classpath entry: C:\Users\zzl\IdeaProjects\mmall\src\main\resources
同学,提示说没法验证这个路径。其实就是路径的问题。
022019-07-22
相似问题