You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The kogito project is implemented with kotlin and gradle and quarkus.
The project same as java project with maven, and it running perfectly. But with kotlin and gradle has Unsatisfied dependency issue.
When I'm running with this command ./gradlew quarkusTest, I got this error: : java.lang.RuntimeException: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: javax.enterprise.inject.spi.DeploymentException: Found 2 deployment problems: [1] Ambiguous dependencies for type org.kie.kogito.process.Process<? extends org.kie.kogito.Model> and qualifiers [@Default] - java member: org.acme.travel.BookHotelTest#bookHotelProcess - declared on CLASS bean [types=[org.acme.travel.BookHotelTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.acme.travel.BookHotelTest] - available beans: - CLASS bean [types=[org.kie.kogito.process.impl.AbstractProcess<org.acme.travels.TravelsModel>, org.jbpm.process.core.ProcessSupplier, java.util.function.Supplier<org.kie.api.definition.process.Process>, java.lang.Object, org.acme.travels.TravelsProcess, org.kie.kogito.process.Process<org.acme.travels.TravelsModel>], qualifiers=[@Named("travels"), @Default, @Any], target=org.acme.travels.TravelsProcess] - CLASS bean [types=[org.kie.kogito.process.impl.AbstractProcess<org.acme.travels.HotelBookingModel>, org.jbpm.process.core.ProcessSupplier, java.util.function.Supplier<org.kie.api.definition.process.Process>, org.kie.kogito.process.Process<org.acme.travels.HotelBookingModel>, java.lang.Object, org.acme.travels.HotelBookingProcess], qualifiers=[@Named("hotelBooking"), @Default, @Any], target=org.acme.travels.HotelBookingProcess] - CLASS bean [types=[org.acme.travels.FlightBookingProcess, org.kie.kogito.process.impl.AbstractProcess<org.acme.travels.FlightBookingModel>, org.jbpm.process.core.ProcessSupplier, java.util.function.Supplier<org.kie.api.definition.process.Process>, org.kie.kogito.process.Process<org.acme.travels.FlightBookingModel>, java.lang.Object], qualifiers=[@Named("flightBooking"), @Default, @Any], target=org.acme.travels.FlightBookingProcess] [2] Ambiguous dependencies for type org.kie.kogito.process.Process<? extends org.kie.kogito.Model> and qualifiers [@Default] - java member: org.acme.travel.BookFlightTest#bookFlightProcess - declared on CLASS bean [types=[org.acme.travel.BookFlightTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.acme.travel.BookFlightTest] - available beans:
When I'm running with intelij debugger, I got this error: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: javax.enterprise.inject.spi.DeploymentException: Found 2 deployment problems: [1] Unsatisfied dependency for type org.kie.kogito.process.Process<? extends org.kie.kogito.Model> and qualifiers [@Default] - java member: org.acme.travel.BookFlightTest#bookFlightProcess - declared on CLASS bean [types=[org.acme.travel.BookFlightTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.acme.travel.BookFlightTest] [2] Unsatisfied dependency for type org.kie.kogito.process.Process<? extends org.kie.kogito.Model> and qualifiers [@Default] - java member: org.acme.travel.BookHotelTest#bookHotelProcess - declared on CLASS bean [types=[org.acme.travel.BookHotelTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.acme.travel.BookHotelTest]
Expected behavior
Expect that test are running successfully.
Actual behavior
No response
How to Reproduce?
In the root of the project: run this command:
./gradlew quarkusTest
Or just run tests.
Output of uname -a or ver
No response
Output of java -version
17
GraalVM version (if different from Java)
No response
Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)
1.33.0
Build tool (ie. output of mvnw --version or gradlew --version)
gradlew 7.5.1
Additional information
I'm runnign with kogito 1.35.0 as well, and I got same error.
Quarkus version: 2.16.4 kogito-gradle-issue.zip
The text was updated successfully, but these errors were encountered:
Describe the bug
The kogito project is implemented with kotlin and gradle and quarkus.
The project same as java project with maven, and it running perfectly. But with kotlin and gradle has Unsatisfied dependency issue.
When I'm running with this command ./gradlew quarkusTest, I got this error:
: java.lang.RuntimeException: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: javax.enterprise.inject.spi.DeploymentException: Found 2 deployment problems: [1] Ambiguous dependencies for type org.kie.kogito.process.Process<? extends org.kie.kogito.Model> and qualifiers [@Default] - java member: org.acme.travel.BookHotelTest#bookHotelProcess - declared on CLASS bean [types=[org.acme.travel.BookHotelTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.acme.travel.BookHotelTest] - available beans: - CLASS bean [types=[org.kie.kogito.process.impl.AbstractProcess<org.acme.travels.TravelsModel>, org.jbpm.process.core.ProcessSupplier, java.util.function.Supplier<org.kie.api.definition.process.Process>, java.lang.Object, org.acme.travels.TravelsProcess, org.kie.kogito.process.Process<org.acme.travels.TravelsModel>], qualifiers=[@Named("travels"), @Default, @Any], target=org.acme.travels.TravelsProcess] - CLASS bean [types=[org.kie.kogito.process.impl.AbstractProcess<org.acme.travels.HotelBookingModel>, org.jbpm.process.core.ProcessSupplier, java.util.function.Supplier<org.kie.api.definition.process.Process>, org.kie.kogito.process.Process<org.acme.travels.HotelBookingModel>, java.lang.Object, org.acme.travels.HotelBookingProcess], qualifiers=[@Named("hotelBooking"), @Default, @Any], target=org.acme.travels.HotelBookingProcess] - CLASS bean [types=[org.acme.travels.FlightBookingProcess, org.kie.kogito.process.impl.AbstractProcess<org.acme.travels.FlightBookingModel>, org.jbpm.process.core.ProcessSupplier, java.util.function.Supplier<org.kie.api.definition.process.Process>, org.kie.kogito.process.Process<org.acme.travels.FlightBookingModel>, java.lang.Object], qualifiers=[@Named("flightBooking"), @Default, @Any], target=org.acme.travels.FlightBookingProcess] [2] Ambiguous dependencies for type org.kie.kogito.process.Process<? extends org.kie.kogito.Model> and qualifiers [@Default] - java member: org.acme.travel.BookFlightTest#bookFlightProcess - declared on CLASS bean [types=[org.acme.travel.BookFlightTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.acme.travel.BookFlightTest] - available beans:
When I'm running with intelij debugger, I got this error:
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: javax.enterprise.inject.spi.DeploymentException: Found 2 deployment problems: [1] Unsatisfied dependency for type org.kie.kogito.process.Process<? extends org.kie.kogito.Model> and qualifiers [@Default] - java member: org.acme.travel.BookFlightTest#bookFlightProcess - declared on CLASS bean [types=[org.acme.travel.BookFlightTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.acme.travel.BookFlightTest] [2] Unsatisfied dependency for type org.kie.kogito.process.Process<? extends org.kie.kogito.Model> and qualifiers [@Default] - java member: org.acme.travel.BookHotelTest#bookHotelProcess - declared on CLASS bean [types=[org.acme.travel.BookHotelTest, java.lang.Object], qualifiers=[@Default, @Any], target=org.acme.travel.BookHotelTest]
Expected behavior
Expect that test are running successfully.
Actual behavior
No response
How to Reproduce?
In the root of the project: run this command:
./gradlew quarkusTest
Or just run tests.
Output of
uname -a
orver
No response
Output of
java -version
17
GraalVM version (if different from Java)
No response
Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)
1.33.0
Build tool (ie. output of
mvnw --version
orgradlew --version
)gradlew 7.5.1
Additional information
I'm runnign with kogito 1.35.0 as well, and I got same error.
Quarkus version: 2.16.4
kogito-gradle-issue.zip
The text was updated successfully, but these errors were encountered: