Not working post Quarkus version upgrade : Beans in dependent gradle modules not being created or not discoverable #38924
Replies: 4 comments 2 replies
-
CC : @radcortez , @sberyozkin , @mkouba |
Beta Was this translation helpful? Give feedback.
-
/cc @glefloch, @quarkusio/devtools |
Beta Was this translation helpful? Give feedback.
-
I suppose there's a typo in the description and the In any case, I'm not aware of a breaking change in the bean discovery. Is module B the actual Quarkus app? In which mode (test, dev, production) do you get that error? Ideally, we would need a minimal reproducer app and steps to reproduce the problem. |
Beta Was this translation helpful? Give feedback.
-
I had a similar problem migrating from quarkus 2.16 to 3.2.11, but only in dev mode. I recommend you to read and undertsand https://quarkus.io/guides/class-loading-reference and specifically the differences of the augmentation classloader. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
New Version : 3.2.10.Final
Old Version : 2.16.5.Final
I have the following gradle setup :
root
-> module a
-> module b
module b depends on module a and expresses this dependency via the build.gradle
dependencies { implementation project(':module a') }
Module B has a service class like so :
Module A has the needed class :
This setup was working fine in the old version but post upgrade Quarkus complains as follows :
` ```
Unsatisfied dependency for type com.Service and qualifiers [@default]
Beta Was this translation helpful? Give feedback.
All reactions