请问这是什么问题呢,好久都没能解决

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

weixin_慕用4438374

2019-01-01 15:52

[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 http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven 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:  1.861 s

[INFO] Finished at: 2019-01-01T15:52:36+08:00

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

[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5:generate (default-cli) on project miaosha: configfile E:\miaosha\scr\main\resources\mybatis-generator.xml does not exist -> [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


写回答 关注

4回答

  • 龙虾三少
    2019-01-01 21:54:06

    使用的maven的setting.xml文件中改成阿里云的镜像地址试试

    weixin...

    老师,我也出现了这个问题,按照你说的方法改了还是出错,请问spring boot的版本高会不会导致出错

    2019-01-17 22:57:33

    共 1 条回复 >

  • weixin_慕瓜4181533
    2019-01-17 17:39:36

    同学你好,请问解决了吗?百度了半天能试的都试了,解决了麻烦回答一下

    阿米尔汗_ 回复weixin...

    请问最后发现是什么问题呀,怎么解决的

    2020-04-20 22:38:03

    共 2 条回复 >

  • dusty_z
    2019-01-07 12:28:17

    不是镜像的问题,而是idea没有找到你设置的E:\miaosha\scr\main\resources\mybatis-generator.xml这个配置路径,解决方案:检查pom.xml文件下

    <configuration>
    <configurationFile>

    这两个标签及相关路径、mybatis-generator.xml文件名是否书写完全正确/对应

  • 简单丶注定
    2019-01-01 20:01:06

    configfile E:\miaosha\scr\main\resources\mybatis-generator.xml does not exist.



    weixin...

    你好,请问这个问题怎么解决呢?看了下应该没有问题的呀,不知道为什么会报错,很久都没有解决

    2019-01-01 20:37:55

    共 1 条回复 >

SpringBoot构建电商基础秒杀项目

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

49064 学习 · 954 问题

查看课程

相似问题