为了账号安全,请及时绑定邮箱和手机立即绑定

不知道这是啥问题,如何解决

"C:\Program Files\Java\jdk1.8.0_191\bin\java.exe" -Dmaven.multiModuleProjectDirectory=C:\Users\cheng.DESKTOP-I7TGP1I\Desktop\project -Dmaven.home=D:\apache-maven-3.6.0 -Didea.modules.paths.file=C:\Users\cheng.DESKTOP-I7TGP1I\.IntelliJIdea2018.3\system\Maven\idea-projects-state-4c0a7ee5.properties -Dclassworlds.conf=C:\Users\cheng.DESKTOP-I7TGP1I\AppData\Local\Temp\idea--mvn.conf "-javaagent:D:\IntelliJ IDEA 2018.3.2\lib\idea_rt.jar=55581:D:\IntelliJ IDEA 2018.3.2\bin" -Dfile.encoding=UTF-8 -classpath D:\apache-maven-3.6.0\boot\plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2018.3.2 --update-snapshots -s D:\apache-maven-3.6.0\conf\settings.xml -Dmaven.repo.local=D:\my_maven_local_repository mybatis-generator:generate

[INFO] Scanning for projects...

Downloading from central: https://repo.maven.apache.org/maven2/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 from central: https://repo.maven.apache.org/maven2/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 central (https://repo.maven.apache.org/maven2)

[INFO] 

[INFO] ------------------------< com.miaosha:miaosha >-------------------------

[INFO] Building miaosha 1.0-SNAPSHOT

[INFO] --------------------------------[ jar ]---------------------------------

[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 https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced

[INFO] 

[INFO] --- mybatis-generator-maven-plugin:1.3.5:generate (default-cli) @ miaosha ---

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time:  7.091 s

[INFO] Finished at: 2019-01-14T18:36:17+08:00

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5:generate (default-cli) on project miaosha: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5:generate failed: Cannot resolve classpath entry: C:\Users\cheng.DESKTOP-I7TGP1I\Desktop\project\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 回答

<!DOCTYPE generatorConfiguration
        PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
        "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">

<!---把头部代码改成这个-->

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

不知道这是啥问题,如何解决

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信