DEV Community

Sreejesh IndustryApps
Sreejesh IndustryApps

Posted on

Failed to validate the server name "iapps-in-dev-sql-server.privatelink.database.windows.net"

I am getting the below error after the upgrade. It was working fine in jdk8 and spring boot version 1.5.3-release and MS Sql driver mssql-jdbc-6.1.0.jre7.jar

Now I upgraded jdk to 21 and spring-boot to 2.7.16 and using the below jdbc driver

<dependency&gt
    <groupId>com.microsoft.sqlserver</groupId>
    <artifactId>mssql-jdbc</artifactId>
    <version>12.4.2.jre11</version>
</dependency>

I am getting a…

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay