Getting always a RejectedExecutionException #25472
Replies: 2 comments
-
Has nobody an idea what this can be? I tried also to create a simple class with an endpoint defined directly in the code (like all the tutorials show), but without success... |
Beta Was this translation helpful? Give feedback.
-
I found a very weird solution for this issue, but I can't explain it... In my initial implementation I had this implementation in the server part: package io.github.ragin_lundf
import io.quarkus.runtime.QuarkusApplication
import io.quarkus.runtime.annotations.QuarkusMain
@QuarkusMain
class Application: QuarkusApplication {
override fun run(vararg args: String?): Int {
return 0
}
} It was required to start the application. Now I've changed all quarkus plugins in the submodules to apply(false): plugins {
id("io.quarkus") apply(false)
} The only exception is the server submodule.
After adding an empty class to the server part everything works fine... Any idea why this happens (and why is the initial |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm getting always this exception when trying to call my API:
The application is currently a simple test for a multi-project application with a Swagger-First approach.
It simply generates a JaxRS API interface, the API models as DTO and is supposed to call the "domain service" in a self-implemented controller that inherits from the interface with the REST annotations to get some data back.
Unfortunately, I don't even end up in the controller when I set a breakpoint there.
Yesterday it worked for a few minutes, but since then I can't run anything ;(.
Code can be found here: https://github.com/Ragin-LundF/quarkus-multiproject-default
Beta Was this translation helpful? Give feedback.
All reactions