springboot 啟動出現Init DruidDataSource問題
背景
記錄一下搭建環境的時候出現的問題,
Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class iscom.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
出現上面的紅色字體:大概意思就是你弄的重復了,建議替換
解決
所以在配置中修改:
紅體沒有了。
其實這種問題也可以直接忽略,畢竟不是什么大的問題。
別問我怎么知道的,因為我一直這么用來着。