You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using quarkus version 2.6.1.Final and kotlin version 1.6.10 and running in dev mode with command mvn quarkus:dev. The service started normally and i can run curl -v http://localhost:8080/hello and returns "Hello RESTEasy". If i change the code to return "Hello World", live reloading fails when i run curl again.
Expected behavior
Return Hello world
Actual behavior
Show this error in request with http status 500:
java.lang.IllegalArgumentException: Invalid argument: -parameters
at org.jetbrains.kotlin.cli.common.CLITool.parseArguments(CLITool.kt:121)
at io.quarkus.kotlin.deployment.KotlinCompilationProvider.compile(KotlinCompilationProvider.java:79)
at io.quarkus.deployment.dev.QuarkusCompiler.compile(QuarkusCompiler.java:192)
at io.quarkus.deployment.dev.RuntimeUpdatesProcessor.checkForChangedClasses(RuntimeUpdatesProcessor.java:688)
at io.quarkus.deployment.dev.RuntimeUpdatesProcessor.doScan(RuntimeUpdatesProcessor.java:435)
at io.quarkus.deployment.dev.RuntimeUpdatesProcessor.doScan(RuntimeUpdatesProcessor.java:417)
at io.quarkus.vertx.http.runtime.devmode.VertxHttpHotReplacementSetup$4.handle(VertxHttpHotReplacementSetup.java:152)
at io.quarkus.vertx.http.runtime.devmode.VertxHttpHotReplacementSetup$4.handle(VertxHttpHotReplacementSetup.java:139)
at io.vertx.core.impl.ContextImpl.lambda$null$0(ContextImpl.java:159)
at io.vertx.core.impl.AbstractContext.dispatch(AbstractContext.java:100)
at io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:157)
at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
And in console where i'm running mvn quarkus:dev shows this error:
Invalid argument: -parameters
How to Reproduce?
visit code.quarkus.io, select Kotlin and RESTEasy JAX-RS extensions and download zip file
extract zip file and go to folder
run mvn quarkus:dev
Output of uname -a or ver
Linux 90678804c392 5.10.84-1-MANJARO #1 SMP PREEMPT Wed Dec 8 09:50:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Output of java -version
openjdk version "17.0.1" 2021-10-19
OpenJDK Runtime Environment (build 17.0.1+12-39)
OpenJDK 64-Bit Server VM (build 17.0.1+12-39, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.6.1.Final
Build tool (ie. output of mvnw --version or gradlew --version)
The maven-compiler-parameters are pretty much only for Java compilation
(the Kotlin plugin uses its own parameters) and they can actually make
the Kotlin compiler fail.
Fixes: quarkusio#22581
The maven-compiler-parameters are pretty much only for Java compilation
(the Kotlin plugin uses its own parameters) and they can actually make
the Kotlin compiler fail.
Fixes: quarkusio#22581
(cherry picked from commit 482cabd)
Describe the bug
I'm using quarkus version
2.6.1.Final
and kotlin version1.6.10
and running in dev mode with commandmvn quarkus:dev
. The service started normally and i can run curl -vhttp://localhost:8080/hello
and returns "Hello RESTEasy". If i change the code to return "Hello World", live reloading fails when i run curl again.Expected behavior
Return Hello world
Actual behavior
Show this error in request with http status 500:
And in console where i'm running
mvn quarkus:dev
shows this error:Invalid argument: -parameters
How to Reproduce?
Kotlin
andRESTEasy JAX-RS
extensions and download zip filemvn quarkus:dev
Output of
uname -a
orver
Linux 90678804c392 5.10.84-1-MANJARO #1 SMP PREEMPT Wed Dec 8 09:50:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "17.0.1" 2021-10-19
OpenJDK Runtime Environment (build 17.0.1+12-39)
OpenJDK 64-Bit Server VM (build 17.0.1+12-39, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.6.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: /usr/share/maven
Java version: 17.0.1, vendor: Oracle Corporation, runtime: /usr/java/openjdk-17
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "5.10.84-1-manjaro", arch: "amd64", family: "unix"
Additional information
The text was updated successfully, but these errors were encountered: