// Now we open a Connection our new database
try (Connection conn = ConnectionConfiguration
.to("myDB")
.credentials(username, password)
.connect()) {
(...)
Connection to Stardog is done correctly. However, when I try to connect to the database, the following error occurs:
"com.complexible.stardog.StardogException: No driver was found which supports the connection string: 'embed://myNewDB', please double-check the URL and verify the protocol is correct and try again."
That gist is several years old and only valid up to Stardog 3 or so. We now maintain a stardog-examples github repo, in which you can find the updated Jena tutorial
You are correct. You can look at the build.gradle that applies to the tutorial class for a more complete example, but for those two classes specifically you will need to bring in the com.complexible.stardog:client-embedded:${stardogVersion} dependency as well as com.complexible.stardog.jena:stardog-jena:${stardogVersion}, replacing ${stardogVersion} with the version of stardog to which you are connecting.