为了账号安全,请及时绑定邮箱和手机立即绑定

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

[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 回答

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

0 回复 有任何疑惑可以回复我~

请问你解决了吗

0 回复 有任何疑惑可以回复我~

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

1 回复 有任何疑惑可以回复我~
#1

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

我的数据库版本是5.5.
2019-03-26 回复 有任何疑惑可以回复我~
#2

慕尼黑8577581

太有用了大神!!!我查了好多资料,都没能解决,你一语惊醒梦中人了!!!
2022-01-29 回复 有任何疑惑可以回复我~

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

0 回复 有任何疑惑可以回复我~
#1

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

jar包下载成功了,在网上查好像是无法链接数据库,但是网上方法都试了还是不能成功
2019-03-25 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
SpringBoot构建电商基础秒杀项目
  • 参与学习       48761    人
  • 解答问题       950    个

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

进入课程

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

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信