1. 程式人生 > >倒騰一下 hibernate的配置,但是資料庫連線不成功,使用的proxool連線池,報:com.mysql.cj.exceptions.WrongArgumentException: Malform

倒騰一下 hibernate的配置,但是資料庫連線不成功,使用的proxool連線池,報:com.mysql.cj.exceptions.WrongArgumentException: Malform

報錯資訊是:ERROR: Cannot load connection class because of underlying exception: com.mysql.cj.exceptions.WrongArgumentException: Malformed database URL, failed to parse the main URL sections.

看樣子是資料庫url 不對,,但是已經改了新版的驅動方式的,url 和class驅動啊;

mysql版本 :8.0.11;mysql-connector-java-8.0.11;hibernate用的5.3.5版本的;

下面hibernate配置 和連線池配置