亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

編譯通過取不出數據是什么原因

取不出數據:

http://img1.sycdn.imooc.com//59f0f4270001d07c06790379.jpg

數據庫:

http://img1.sycdn.imooc.com//59f0f47a0001320c04570153.jpg

代碼:

http://img1.sycdn.imooc.com//59f0f48a0001205e07550461.jpg

http://img1.sycdn.imooc.com//59f0f48b0001efaa06510301.jpg

http://img1.sycdn.imooc.com//59f0f48b0001d98308030219.jpg

http://img1.sycdn.imooc.com//59f0f48c00014c6b07010223.jpg

我覺得是useSSL這里的問題,但是這里不論寫不寫都取不出數據,不寫的話會有warn:

http://img1.sycdn.imooc.com//59f0f72a0001a97012530213.jpg

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.

正在回答

1 回答

問題已經解決,Girl類里沒寫get,set方法

3 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
2小時學會Spring Boot
  • 參與學習       151526    人
  • 解答問題       1132    個

Spring Boot入門視頻教程,你將學會使用Spring Boot快速構建應用程序

進入課程

編譯通過取不出數據是什么原因

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號