Its a bit urgent in case any solution is available...
# exposed
j
Its a bit urgent in case any solution is available. 🙂
p
How do you connect your database with Exposed? Manually or e.g. by Springboot auto configuration?
j
Using exposed api: Database.connect(url, driver, user, password)
p
Do you use the correct driver name? Or is there maybe a typo?
j
I am using com.microsoft.sqlserver.jdbc.SQLServerDriver
and there seems to be no typo in this.
p
Did you use the dependency as runtimeOnly? I checked it and as soon as I change it to implementation the driver can be found.
j
Thankyou for the reply. I am using maven and not gradle as a build tool. I am on Temurin flavour of java 17.
p
Do you use compile scope for the driver dependency?
j
yes I did. Its compile scope by default. Though I used it explicitly as well,
p
Then I can not reproduce this issue... sorry