-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running quarkus:dev requires compile to be included #39773
Comments
Interesting, it seems to be with any The original error (and noting it pointed to the An example of one of these fields is: @HeaderParam("X-Debug")
@Parameter(
description = "Enable debugging?",
hidden = false,
required = false)
private boolean debug; |
Noting, our tests cases against the resources seem to work fine. |
I finally have a reproducer (in my case) and an interesting spin on it. Reproduce the issue using 3.9.1 (does not work):
Rollback Quarkus to 3.9.0.CR2 (works):
Run using 3.9.1 without Maven Flatten plugin (works):
It seems when Iusing the Maven Flatten plugin, because we use Maven version-(un)friendly POMs in combination with the Maven Deploy plugin, I get the issue but without it or using an older version of Quarkus I do not. acme-normal.zip The error using the reproducer is:
|
This seems fixed with 3.9.2 - |
Describe the bug
Originally, using 3.9.0-rc2 we could run
mvn quarkus:dev
and startup without issues.We had this before and there was considerable cleanup to the POMs (regrettably use a combination of the Maven CI friendly versions and the Flatten plugin so that we can deploy at the moment).
Now, after upgrading to 3.9.1 we need to run
mvn compile quarkus:dev
. This seems consistent across all of our services that we may startup. On a side note, they all have jandex indexes and everything works as expected.The error we are getting is:
Expected behavior
Using
mvn quarkus:dev
starts up the service.Actual behavior
Using
mvn quarkus:dev
throws an CNFE in a BeanParam in another service (which is part of the project). Runningmvn compile quarkus:dev
starts up the service.How to Reproduce?
Still investigating and I'm not quite sure yet how to build a reproducer for this but will try.
There are a lot of moving parts the consider and try to replicate in the reproducer.
Output of
uname -a
orver
No response
Output of
java -version
17.0.6
Quarkus version or git rev
3.9.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Maven 3.9.5
Additional information
Not critical but a nuisance to remember to include
compile
beforequarkus:dev
The text was updated successfully, but these errors were encountered: