nmorado opened a new issue, #4046:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/4046

   ### 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_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to