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
Error: Substitution target for org.wildfly.common.Substitutions$Target_GraalDirectives is not loaded. Use field onlyWith in the TargetClass annotation to make substitution only active when needed.
#163
Open
ozkanpakdil opened this issue
Jan 5, 2025
· 0 comments
C:\Users\ozkan\tmp\so-answer>jhipster-native --version
INFO! No custom commands found within blueprint: generator-jhipster-native at C:\Users\ozkan\AppData\Roaming\npm\node_modules\generator-jhipster-native
2.6.0 (generator-jhipster 8.8.0)
I created a jhipster app from below jdl and got the error below test.jdl.txt
[1/8] Initializing... (0.0s @ 0.44GB)
Error: Substitution target for org.wildfly.common.Substitutions$Target_GraalDirectives is not loaded. Use field `onlyWith` in the `TargetClass` annotation to make substitution only active when needed.
------------------------------------------------------------------------------------------------------------------------
0.9s (2.2% of total time) in 7 GCs | Peak RSS: 1.60GB | CPU load: 3.13
========================================================================================================================
Failed generating 'native-executable' after 37.8s.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
Jhipster version
mvn java version
I created a jhipster app from below jdl and got the error below
test.jdl.txt
longer.error.txt
This is coming from undertow and for workaround I removed undertow from my pom and removed the exclusion of tomcat, after that native build worked.
The text was updated successfully, but these errors were encountered: