问答详情
源自:2-4 Mybatis自动生成器使用方式

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

[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


提问者:weixin_慕用4438374 2019-01-01 15:52

个回答

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

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

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

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

  • 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.