diff --git a/node/src/main/kotlin/com/r3corda/node/driver/Driver.kt b/node/src/main/kotlin/com/r3corda/node/driver/Driver.kt index 32ff224270..74e0152c47 100644 --- a/node/src/main/kotlin/com/r3corda/node/driver/Driver.kt +++ b/node/src/main/kotlin/com/r3corda/node/driver/Driver.kt @@ -196,8 +196,8 @@ class DriverDSL( val cl = ClassLoader.getSystemClassLoader() val urls = (cl as URLClassLoader).urLs val quasarPattern = ".*quasar.*\\.jar$".toRegex() - val quasarPath = urls.map { it.path }.first { quasarPattern.matches(it) } - quasarPath + val quasarFileUrl = urls.first { quasarPattern.matches(it.path) } + Paths.get(quasarFileUrl.toURI()).toString() } val driverNodeConfiguration = NodeConfigurationFromConfig(