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
Describe the bug
When using SmallRye GraphQL, packaging a native image fails with the following error:
com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Class initialization of io.smallrye.graphql.cdi.validation.ValidationService failed ... Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.smallrye.graphql.cdi.validation.ValidationService
This error is solved with the following workaround in application.properties:
# Add your application.properties here, if applicable.quarkus.native.additional-build-args= --initialize-at-run-time=io.smallrye.graphql.cdi.validation.ValidationService
Environment (please complete the following information):
macOS 10.13.6
OpenJDK 11.0.7
GraalVM CE 20.20.0
Maven 3.6.3
Additional context
It works in Java mode.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using SmallRye GraphQL, packaging a native image fails with the following error:
This error is solved with the following workaround in application.properties:
Buty I guess this not a normal situation.
Expected behavior
Actual behavior
To Reproduce
This GitHub project reproduces the error.
Configuration
Environment (please complete the following information):
Additional context
It works in Java mode.
The text was updated successfully, but these errors were encountered: