請問這是什么問題呢,好久都沒能解決
[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
2019-01-01
使用的maven的setting.xml文件中改成阿里云的鏡像地址試試
2019-01-17
同學你好,請問解決了嗎?百度了半天能試的都試了,解決了麻煩回答一下
2019-01-07
不是鏡像的問題,而是idea沒有找到你設(shè)置的E:\miaosha\scr\main\resources\mybatis-generator.xml這個配置路徑,解決方案:檢查pom.xml文件下
這兩個標簽及相關(guān)路徑、mybatis-generator.xml文件名是否書寫完全正確/對應(yīng)。
2019-01-01
configfile E:\miaosha\scr\main\resources\mybatis-generator.xml does not exist.