graalvm-native-image

No instances of … are allowed in the image heap as this class should be initialized at image runtime

瘦欲@ 提交于 2021-02-07 04:22:55
问题 I am running a simple Java application (just a REST endpoint, a "Hello" response - exactly the example generated by the Quarkus maven archetype, without modification) with the following stack: Quarkus (MicroProfile) JDK 1.8 HotSpot 1.8.0_231-b11 GraalVM 19.3.0 (native-image) MacOS Catalina The first error it is (although it does'nt seems to be the main problem): [code-with-quarkus-1.0.0-SNAPSHOT-runner:1868] setup: 8,524.65 ms java.lang.NoSuchMethodException: com.oracle.svm.core.jdk

/lib64/libc.so.6: version `GLIBC_2.32' not found

喜夏-厌秋 提交于 2020-12-15 04:54:28
问题 I'm building the lambda on Ubuntu with the basic example. It builds without any errors but if I upload and test it on aws in crashes with: { "errorMessage": "RequestId: 7f4d0aca-125c-4032-98dd-9ff387e5252b Error: Runtime exited with error: exit status 1", "errorType": "Runtime.ExitError" } The log output is: START RequestId: 7f4d0aca-125c-4032-98dd-9ff387e5252b Version: $LATEST.~.jwtauthorizeraws.jwtauthorizerawsapplication: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ./~