进行maven自动生成类一直报错

来源:2-4 Mybatis自动生成器使用方式

qq_一曲离殇丶笑看人世繁华_3

2019-03-25 14:00

[INFO] Scanning for projects...
[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] ------------------------------------------------------------------------
[INFO] Building miao 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[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) @ miao ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.307 s
[INFO] Finished at: 2019-03-25T13:57:59+08:00
[INFO] Final Memory: 18M/60M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5:generate (default-cli) on project miao: F:\镇江实习\作业\miao\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/MojoExecutionException

Process finished with exit code 1


写回答 关注

4回答

  • 慕莱坞5288264
    2019-07-30 23:07:28

    我也有这个问题,你解决了吗

  • 慕哥4577863
    2019-04-09 17:11:25

    请问你解决了吗

  • 慕工程0164977
    2019-03-26 09:56:42

    数据库版本问题  老师用的是5.的  你估计是8.0的

    慕尼黑857...

    太有用了大神!!!我查了好多资料,都没能解决,你一语惊醒梦中人了!!!

    2022-01-29 00:16:56

    共 2 条回复 >

  • 慕容1386759
    2019-03-25 18:46:51

    看看你的jar包下载成功没有,或者是看看你的文件名写对没有

    qq_一曲离...

    jar包下载成功了,在网上查好像是无法链接数据库,但是网上方法都试了还是不能成功

    2019-03-25 19:18:37

    共 1 条回复 >

SpringBoot构建电商基础秒杀项目

应用SpringBoot快速搭建拥有用户、商品、交易及秒杀活动的电商秒杀应用。

49065 学习 · 954 问题

查看课程

相似问题