-
Hi, we have a project that uses micronaut-core 4.3.10 (bom/release version 4.3.5) that builds and works fine. I am trying to update it to latest release (bom version 4.4.1 / micronaut-core 4.4.6), when building our project, I got the following error: io.micronaut.context.AbstractInitializableBeanDefinitionAndReference is a new class added to micronaut-core project that 4.3.10 doesn't have it. How to fix it? I checked #10765, and found that my pom has I also add |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
can you check your pom for hard coded versions you should have none |
Beta Was this translation helpful? Give feedback.
-
I resolved the problem by updating all micronaut components to current latest version in artifactory. I think the error was caused by the compiler links to micronaut-core 4.3. That's probably an bug in maven as my pom clearly reference micronaut-core 4.4.6. maven should have reference to pom's direct reference but not indirect reference of other dependency. |
Beta Was this translation helpful? Give feedback.
I resolved the problem by updating all micronaut components to current latest version in artifactory. I think the error was caused by the compiler links to micronaut-core 4.3. That's probably an bug in maven as my pom clearly reference micronaut-core 4.4.6. maven should have reference to pom's direct reference but not indirect reference of other dependency.