-
Notifications
You must be signed in to change notification settings - Fork 246
Description
Describe the bug
Using Quarkus 3.20.1 and Kogito 10.1.0 causes errors below due to MP OpenAPI version collisions when a DMN is included in a project:
Caused by: java.lang.NoSuchMethodError: 'org.eclipse.microprofile.openapi.models.media.Schema org.eclipse.microprofile.openapi.models.media.Schema.type(org.eclipse.microprofile.openapi.models.media.Schema$SchemaType)' at org.kie.dmn.openapi.impl.FEELBuiltinTypeSchemaMapper.convertBuiltInToJavaClass(FEELBuiltinTypeSchemaMapper.java:68) at org.kie.dmn.openapi.impl.FEELBuiltinTypeSchemaMapper.from(FEELBuiltinTypeSchemaMapper.java:36) at org.kie.dmn.openapi.impl.DMNTypeSchemas.refOrBuiltinSchema(DMNTypeSchemas.java:108) at org.kie.dmn.openapi.impl.DMNTypeSchemas.schemaFromSimpleType(DMNTypeSchemas.java:98) at org.kie.dmn.openapi.impl.DMNTypeSchemas.schemaFromType(DMNTypeSchemas.java:88) at org.kie.dmn.openapi.impl.DMNTypeSchemas.generateSchemas(DMNTypeSchemas.java:63) at org.kie.dmn.openapi.impl.DMNOASGeneratorImpl.build(DMNOASGeneratorImpl.java:68)
Expected behavior
MP OpenAPI needed bby Kogito deployment should match or compatible with quarkus runtime.
Actual behavior
It is failing with NoSuchMethod errors because of MP OpenAPI version mismatch.
How to Reproduce?
Run the sample application under kogito-quarkus-examples/dmn-quarkus-example and one should get the error
Output of uname -a or ver
No response
Output of java -version
No response
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)
No response
Build tool (ie. output of mvnw --version or gradlew --version)
No response
Additional information
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status