Quarkus: URL codeSource location for path c:\... could not be created.

Created on 11 Dec 2019  路  6Comments  路  Source: quarkusio/quarkus

Describe the bug
If i start the quarkus dev server on windows using mvn quarkus:dev i get the following error.
The error is only logged on windows CMD.

[INFO] --- quarkus-maven-plugin:1.0.1.Final:dev (default-cli) @ quarkus-getting-started ---
Listening for transport dt_socket at address: 5005
2019-12-11 11:39:15,450 ERROR [io.qua.run.RuntimeClassLoader] (main) URL codeSource location for path C:\git\Trend-Radar\quarkus-demo\quarkus-getting-started\target\classes could not be created.
2019-12-11 11:39:17,025 INFO  [io.quarkus] (main) Quarkus 1.0.1.Final started in 1.852s. Listening on: http://0.0.0.0:8080
2019-12-11 11:39:17,026 INFO  [io.quarkus] (main) Profile dev activated. Live Coding activated.
2019-12-11 11:39:17,026 INFO  [io.quarkus] (main) Installed features: [cdi, resteasy, resteasy-jsonb]
kinbug

All 6 comments

@jaikiran any chance you could have a look at that one?

Hello @gsmet, I think @mkouba fixed it upstream recently. Let me try and find that commit.

Here - it went in as part of this commit https://github.com/quarkusio/quarkus/commit/52c6757c5e4c92cda8291eeab2d143d7c59d3466#diff-b62330d7854dac18b08037dee3101ee4L534.

@haraldatbmw, any chance you can build our latest upstream branch and give it a try? You will need to use 999-SNAPSHOT as the quarkus version, after you build the Quarkus project.

Oh, this one was sneaky :).

@haraldatbmw you can even try 1.1.0.CR1. You need to use the quarkus-bom for that, not the quarkus-universe-bom.

@gsmet I switched to 1.1.0.CR1 and the error disappeared :-)

    <quarkus-plugin.version>1.1.0.CR1</quarkus-plugin.version>
    <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
    <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
    <quarkus.platform.version>1.1.0.CR1</quarkus.platform.version>

So I'm fine again.

[INFO] Launching JVM with command line: C:\Program Files\Zulu\zulu-8\jre\bin\java.EXE -XX:TieredStopAtLevel=1 -Xverify:none -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n -Djava.util.logging.manager=org.jboss.logmanager.LogManager -jar C:\git\Trend-Radar\quarkus-demo\quarkus-getting-started\target\quarkus-getting-started-dev.jar
Listening for transport dt_socket at address: 5005
2019-12-11 12:35:41,880 INFO  [io.quarkus] (main) Quarkus 1.1.0.CR1 started in 2.361s. Listening on: http://0.0.0.0:8080
2019-12-11 12:35:41,886 INFO  [io.quarkus] (main) Profile dev activated. Live Coding activated.
2019-12-11 12:35:41,887 INFO  [io.quarkus] (main) Installed features: [cdi, resteasy, resteasy-jsonb]

Cool, thanks to both of you.

Was this page helpful?
0 / 5 - 0 ratings