Unable to resolve class com.mysql.jdbc.Connection

Hello. Can anyone help me?

Now, i have different issue.

The server time zone value ‘WIB’ is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.

@halimcakraw

You need to change timezone in JDBC connection string or change server timezone:

https://mkyong.com/jdbc/java-sql-sqlexception-the-server-time-zone-value-xx-time-is-unrecognized/

Cannot cast object ‘com.mysql.cj.jdbc.ConnectionImpl@79f227a9’ with class ‘com.mysql.cj.jdbc.ConnectionImpl’ to class ‘com.microsoft.sqlserver.jdbc.SQLServerConnection’

This is my problem now.

@halimcakraw

Can you share us your DB settings page? You can hide your sensitive information.

Where do i see DB Setting Page? Can you remote my pc? Thanks before.

SOLVED.

I try this:

1 Like