This is the Warning im getting in console, Im confused with this warning
Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class is
com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
I resolved this problem by change
application.properties
ofto
Hope it help
If you're using Hibernate then change in your "hibernate.cfg.xml" the following:
To:
That should do :)
If seeing this message in Hive with new MySQL connector
8.x
(MySQL metastore)open
hive-site.xml
and change:to
I'm using Eclipse and defined MySql connection pool in META_INF/context.xml. Part of its content is:
When I changed the line starting with "driverClassName" as follows, problem is gone.
in my experience. I was using jsp for web. at that time I use mysql 5 and mysql connecter jar 8. So due to the version problem I face this kind of problem. I solve by replace the mysql connector jar file the exact version mysql.