-
I have a maven project running quarkus with resteasy, and that project has another maven dependency (using quarkus dependencies too), and that project has 1 class which implements ContainerRequestFilter but the filter method is never triggered no matter how many requests are made. In addition to that, it completely breaks Hot-reload in dev-mode for the the whole app, meaning, no matter how many changes I make to my code, it nevers triggers a reload. The structure looks like this:
If I move the ContainerRequestFilter to the main project, everything starts working again. Is this not supported in quarkus or is it a bug? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
By default dependencies are not scanned for beans. You can add an empty |
Beta Was this translation helpful? Give feedback.
By default dependencies are not scanned for beans.
You can add an empty
META-INF/beans.xml
file in your dependency resource directory to make sure it will be scanned. Here is the docs explaining it: https://quarkus.io/guides/cdi-reference#bean_discovery