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

请问这个报错怎么解决?

Failure to find org.eclipse.m2e:lifecycle-mapping:pom: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 nexus-aliyun has elapsed or updates are forced


[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available

The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available



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 nexus-aliyun has elapsed or updates are forced


[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 nexus-aliyun has elapsed or updates are forced

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 nexus-aliyun has elapsed or updates are forced



[INFO] 

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

[INFO] Building miaosha 1.0-SNAPSHOT

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

Failure to find org.eclipse.m2e:lifecycle-mapping:pom: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 nexus-aliyun has elapsed or updates are forced


[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available

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 nexus-aliyun has elapsed or updates are forced


[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 nexus-aliyun has elapsed or updates are forced

[INFO] 

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

[INFO] Connecting to the Database

[INFO] Introspecting table user_info

[INFO] Introspecting table user_password

[INFO] Generating Record class for table user_info

[INFO] Generating Mapper Interface for table user_info

[INFO] Generating SQL Map for table user_info

[INFO] Generating Record class for table user_password

[INFO] Generating Mapper Interface for table user_password

[INFO] Generating SQL Map for table user_password

[INFO] Saving file UserDoMapper.xml

[INFO] Saving file UserPasswordDoMapper.xml

[INFO] Saving file UserDo.java

[INFO] Saving file UserDoMapper.java

[INFO] Saving file UserPasswordDo.java

[INFO] Saving file UserPasswordDoMapper.java

[WARNING] Existing file E:\workspace\miaosha\src\main\java\com\miaoshaproject\dataobject\UserDo.java was overwritten


提问者:范兵 2019-08-27 14:06

个回答

  • 慕少3479761
    2020-02-17 18:01:33

    同问,解决了嘛,好烦

  • 范兵
    2019-08-27 14:27:08

    https://img3.mukewang.com/5d64ccef0001af2518100271.jpg

    虽然不影响操作,但是一直有这个报错,查了好几个方法,,一直没解决