I tried to create a connection between java and SQL Server. The driver is working, but 'Driver Class' that I wrote in the code raise this error:
'No suitable driver found for jdbc:sqlserver://DESKTOP-04\SQL:1433;databaseName=Onschedule'
I tried to create a connection between java and SQL Server. The driver is working, but 'Driver Class' that I wrote in the code raise this error:
'No suitable driver found for jdbc:sqlserver://DESKTOP-04\SQL:1433;databaseName=Onschedule'
Your embedded database does not have access to a .jar
. You need to make sure that the Drivers
node has access to the JavaDB
.jar
file. This file is typically located in the bin/
folder in the directory that JavaDB
was installed on your machine.