nmorado opened a new issue, #2128:
URL: https://github.com/apache/incubator-kie-kogito-examples/issues/2128
### Describe the bug
Run the sample application under kogito-quarkus-examples/dmn-quarkus-example
and one should get the error below:
`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)
`
Is there any work-around this?
### Expected behavior
The sample app should run as expected
### Actual behavior
Getting the below errors:
`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)
`
### How to Reproduce?
Open the app in IDE and run quarkus:dev
### 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]