-
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
Injection error in start with 1.7.CR1 #11136
Comments
Perhaps related to #10985 ? |
A workaround is to add @ApplicationScoped to com.redhat.cloud.policies.app.RbacServer. |
Stuart is right. The However, if it fails now then it means that before 1.7.0.CR1 the |
I can confirm, that the workaround works. But as @mkouba says, the Rest-Client-Interface is |
Another workaround could be to inject |
Could any of these workarounds be baked into the error message? Because currently the error has almost no call to action |
@geoand Or perhaps just be applied under the hood in all the synthetic code that is produced? |
The approach we are currently thinking of (discussed in https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/Injection.20error) is to make REST Client beans |
check out https://github.com/RedHatInsights/policies-ui-backend , do mvn clean test -> all good with 1.6.0 (and all versions before)
Now replace in pom. xml the 1.6.Final with 1.7.CR1 -> the above fails. Run with mvn quarkus:dev, the following is printed at startup:
The text was updated successfully, but these errors were encountered: