-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
CDI Seems to break when kapt plugin is enabled #11215
Comments
@danelowe I just ran a test with the latest version of quarkus ( |
@glefloch I just upgraded the example to https://github.com/danelowe/quarkusmm/tree/16aaf4547a176562a5d7e14177ffe3bbec8bbbc7 To clarify, in order to run this from clean I have to run This is an improvement however. I was unable to get |
@danelowe I checked out your commit and |
@glefloch So you checked out the commit and immediately ran I tried deleting the project and cloning it again, and still had the issue. I've tried OpenJDK, AdoptOpenJDK, GraalVM. I've tried deleting |
@danelowe I can reproduce it with the clean. The issue is only happening on multi-module project. I keep investigating |
I spent some times trying to fix this issue. The problem looks related to the |
… the quarkus not provides an extension or processor notation to kotlin and mapstruct: * quarkusio/quarkus#5956 * quarkusio/quarkus#11215
I'm going to close this one as it looks like the problem is not related to ArC. Feel free to reopen it if you believe that there's something we could fix. |
Describe the bug
CDI seems to fail only when running quarkusDev from clean, when kapt plugin is enabled in my
domain
module. However, it runs fine a second time when not running from clean.kapt plugin is being used for
org.mapstruct:mapstruct-processor:1.4.0.Beta1
To Reproduce
Steps to reproduce the behavior:
./gradlew clean quarkusDev
, fails withjavax.enterprise.inject.spi.DeploymentException: javax.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type com.example.quarkusmm.port.CustomerService and qualifiers [@Default]
./gradlew quarkusDev
, runs fine.Environment (please complete the following information):
java -version
:openjdk version "14.0.1" 2020-04-14
OpenJDK Runtime Environment (build 14.0.1+7)
OpenJDK 64-Bit Server VM (build 14.0.1+7, mixed mode, sharing)
Gradle 6.3
Build time: 2020-03-24 19:52:07 UTC
Revision: bacd40b727b0130eeac8855ae3f9fd9a0b207c60
Kotlin: 1.3.70
Groovy: 2.5.10
Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019
JVM: 14.0.1 (Oracle Corporation 14.0.1+7)
OS: Mac OS X 10.15.5 x86_64
The text was updated successfully, but these errors were encountered: