No driver was found which supports the connection string

Caused by: com.complexible.stardog.StardogException: No driver was found which supports the connection string: 'embed://DBName', please double-check the URL and verify the protocol is correct and try again.

	at com.complexible.stardog.api.DriverManager.getDriver(
	at com.complexible.stardog.api.DriverManager.getConnection(

This is the error i get when i try to access DB in my stardog instance. Also, I started like this:

 try (Connection aConn = ConnectionConfiguration
                        .credentials(ConfigProperty.suser, ConfigProperty.spassword)
                        .connect()) {


As i do not want to start a new instance of stardog but to use the one already running in the background. Am i missing something??
This code was working fine earlier.

Thank you!

Did you specify the hostname using the server() method? Also you can use at() if you have the hostname and database in a single URL.


Do you have any examples for the same where you can point me?

Check here:

1 Like

Thank you!! It worked!!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.