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

可以连接数据库但是不能创表,pom中有如下红线,如何解决

https://img1.sycdn.imooc.com//5ba1151100018e1706110538.jpg


红线处分别提示:The managed version is 5.1.46 The artifact is managed in org.springframework.boot:spring-boot-dependencies:2.0.4.RELEASE

                            The managed version is 2.0.4.RELEASE The artifact is managed in org.springframework.boot:spring-boot-starter-parent:[unknown-version]



正在回答

1 回答

启动时会提示错误,但继续启动可以执行,控制台不报错,但会有如下的红字:

Wed Sep 19 17:17:59 CST 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

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

举报

0/150
提交
取消
2小时学会Spring Boot
  • 参与学习       151599    人
  • 解答问题       1079    个

Spring Boot入门视频教程,你将学会使用Spring Boot快速构建应用程序

进入课程

可以连接数据库但是不能创表,pom中有如下红线,如何解决

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