spring-projects / spring-boot

Spring Boot helps you to create Spring-powered, production-grade applications and services with absolute minimum fuss.
https://spring.io/projects/spring-boot
Apache License 2.0
75.18k stars 40.68k forks source link

Failed to build spring native image with `native-maven-plugin` #38163

Closed KaeYan93 closed 1 year ago

KaeYan93 commented 1 year ago

Hi,

I failed to build spring native image with a spring boot project.

Spring boot version: 3.0.1 Command to build: mvnw native:compile -Pnative Maven plugin config:

<plugin>
    <groupId>org.graalvm.buildtools</groupId>
    <artifactId>native-maven-plugin</artifactId>
    <configuration>
        <buildArgs>
            <arg>-H:+AddAllCharsets</arg>
            <arg>-H:+TraceSecurityServices</arg>
            <arg>-H:+ReportExceptionStackTraces</arg>
        </buildArgs>
    </configuration>
</plugin>

The error is as shown below:

spring-native-builder-portal-builder-1  | Warning: Method com.mysql.cj.log.StandardLogger.<init>() not found.
spring-native-builder-portal-builder-1  | [1/7] Initializing...                                                                                   (83.3s @ 0.49GB)
spring-native-builder-portal-builder-1  |  Version info: 'GraalVM 22.3.1 Java 17 CE'
spring-native-builder-portal-builder-1  |  Java version info: '17.0.6+10-jvmci-22.3-b13'
spring-native-builder-portal-builder-1  |  C compiler: gcc (redhat, x86_64, 11.3.1)
spring-native-builder-portal-builder-1  |  Garbage collector: Serial GC
spring-native-builder-portal-builder-1  |  2 user-specific feature(s)
spring-native-builder-portal-builder-1  |  - com.oracle.svm.thirdparty.gson.GsonFeature
spring-native-builder-portal-builder-1  |  - org.springframework.aot.nativex.feature.PreComputeFieldFeature
spring-native-builder-portal-builder-1  | Field org.apache.commons.logging.LogAdapter#log4jSpiPresent set to true at build time
spring-native-builder-portal-builder-1  | Field org.apache.commons.logging.LogAdapter#log4jSlf4jProviderPresent set to true at build time
spring-native-builder-portal-builder-1  | Field org.apache.commons.logging.LogAdapter#slf4jSpiPresent set to true at build time
spring-native-builder-portal-builder-1  | Field org.apache.commons.logging.LogAdapter#slf4jApiPresent set to true at build time
spring-native-builder-portal-builder-1  | Field org.springframework.core.NativeDetector#imageCode set to true at build time
spring-native-builder-portal-builder-1  | Field org.springframework.core.KotlinDetector#kotlinPresent set to false at build time
spring-native-builder-portal-builder-1  | Field org.springframework.core.KotlinDetector#kotlinReflectPresent set to false at build time
spring-native-builder-portal-builder-1  | Field org.springframework.format.support.DefaultFormattingConversionService#jsr354Present set to false at build time
spring-native-builder-portal-builder-1  | Field org.springframework.cglib.core.AbstractClassGenerator#imageCode set to true at build time
spring-native-builder-portal-builder-1  | # Printing security services automatic registration to: /build/iam/manager/portal-service/target/reports/security_services_20231101_104653.txt
spring-native-builder-portal-builder-1  | [2/7] Performing analysis...  []                                                                       (175.9s @ 3.14GB)
spring-native-builder-portal-builder-1  |    9,446 (74.72%) of 12,642 classes reachable
spring-native-builder-portal-builder-1  |   34,668 (84.55%) of 41,002 fields reachable
spring-native-builder-portal-builder-1  |   27,815 (26.47%) of 105,074 methods reachable
spring-native-builder-portal-builder-1  |    1,920 classes, 5,642 fields, and 18,027 methods registered for reflection
spring-native-builder-portal-builder-1  |
spring-native-builder-portal-builder-1  | Error: Classes that should be initialized at run time got initialized during image building:
spring-native-builder-portal-builder-1  |  org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi was unintentionally initialized at build time. To see why org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi got initialized use --trace-class-initialization=org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi
spring-native-builder-portal-builder-1  | org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi was unintentionally initialized at build time. To see why org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi got initialized use --trace-class-initialization=org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi
spring-native-builder-portal-builder-1  | org.bouncycastle.jce.provider.BouncyCastleProvider was unintentionally initialized at build time. To see why org.bouncycastle.jce.provider.BouncyCastleProvider got initialized use --trace-class-initialization=org.bouncycastle.jce.provider.BouncyCastleProvider
spring-native-builder-portal-builder-1  | org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base5 was unintentionally initialized at build time. To see why org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base5 got initialized use --trace-class-initialization=org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base5
spring-native-builder-portal-builder-1  | org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$Ed448 was unintentionally initialized at build time. To see why org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$Ed448 got initialized use --trace-class-initialization=org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$Ed448
spring-native-builder-portal-builder-1  | org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi$Falcon512 was unintentionally initialized at build time. To see why org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi$Falcon512 got initialized use --trace-class-initialization=org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi$Falcon512
spring-native-builder-portal-builder-1  | org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base3 was unintentionally initialized at build time. To see why org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base3 got initialized use --trace-class-initialization=org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base3
spring-native-builder-portal-builder-1  | org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base2 was unintentionally initialized at build time. To see why org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base2 got initialized use --trace-class-initialization=org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base2
spring-native-builder-portal-builder-1  | org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi was unintentionally initialized at build time. To see why org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi got initialized use --trace-class-initialization=org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi
spring-native-builder-portal-builder-1  | org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$X448 was unintentionally initialized at build time. To see why org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$X448 got initialized use --trace-class-initialization=org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$X448
spring-native-builder-portal-builder-1  | org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$Ed25519 was unintentionally initialized at build time. To see why org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$Ed25519 got initialized use --trace-class-initialization=org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$Ed25519
spring-native-builder-portal-builder-1  | org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi$Falcon1024 was unintentionally initialized at build time. To see why org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi$Falcon1024 got initialized use --trace-class-initialization=org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi$Falcon1024
spring-native-builder-portal-builder-1  | org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$X25519 was unintentionally initialized at build time. To see why org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$X25519 got initialized use --trace-class-initialization=org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$X25519
spring-native-builder-portal-builder-1  | To see how the classes got initialized, use --trace-class-initialization=org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi,org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi,org.bouncycastle.jce.provider.BouncyCastleProvider,org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base5,org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$Ed448,org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi$Falcon512,org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base3,org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base2,org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi,org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$X448,org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$Ed25519,org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi$Falcon1024,org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$X25519
spring-native-builder-portal-builder-1  | com.oracle.svm.core.util.UserError$UserException: Classes that should be initialized at run time got initialized during image building:
spring-native-builder-portal-builder-1  |  org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi was unintentionally initialized at build time. To see why org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi got initialized use --trace-class-initialization=org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi
spring-native-builder-portal-builder-1  | org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi was unintentionally initialized at build time. To see why org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi got initialized use --trace-class-initialization=org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi
spring-native-builder-portal-builder-1  | org.bouncycastle.jce.provider.BouncyCastleProvider was unintentionally initialized at build time. To see why org.bouncycastle.jce.provider.BouncyCastleProvider got initialized use --trace-class-initialization=org.bouncycastle.jce.provider.BouncyCastleProvider
spring-native-builder-portal-builder-1  | org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base5 was unintentionally initialized at build time. To see why org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base5 got initialized use --trace-class-initialization=org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base5
spring-native-builder-portal-builder-1  | org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$Ed448 was unintentionally initialized at build time. To see why org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$Ed448 got initialized use --trace-class-initialization=org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$Ed448
spring-native-builder-portal-builder-1  | org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi$Falcon512 was unintentionally initialized at build time. To see why org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi$Falcon512 got initialized use --trace-class-initialization=org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi$Falcon512
spring-native-builder-portal-builder-1  | org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base3 was unintentionally initialized at build time. To see why org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base3 got initialized use --trace-class-initialization=org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base3
spring-native-builder-portal-builder-1  | org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base2 was unintentionally initialized at build time. To see why org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base2 got initialized use --trace-class-initialization=org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base2
spring-native-builder-portal-builder-1  | org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi was unintentionally initialized at build time. To see why org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi got initialized use --trace-class-initialization=org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi
spring-native-builder-portal-builder-1  | org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$X448 was unintentionally initialized at build time. To see why org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$X448 got initialized use --trace-class-initialization=org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$X448
spring-native-builder-portal-builder-1  | org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$Ed25519 was unintentionally initialized at build time. To see why org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$Ed25519 got initialized use --trace-class-initialization=org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$Ed25519
spring-native-builder-portal-builder-1  | org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi$Falcon1024 was unintentionally initialized at build time. To see why org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi$Falcon1024 got initialized use --trace-class-initialization=org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi$Falcon1024
spring-native-builder-portal-builder-1  | org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$X25519 was unintentionally initialized at build time. To see why org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$X25519 got initialized use --trace-class-initialization=org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$X25519
spring-native-builder-portal-builder-1  | To see how the classes got initialized, use --trace-class-initialization=org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi,org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi,org.bouncycastle.jce.provider.BouncyCastleProvider,org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base5,org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$Ed448,org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi$Falcon512,org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base3,org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi$Base2,org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi,org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$X448,org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$Ed25519,org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyFactorySpi$Falcon1024,org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi$X25519
spring-native-builder-portal-builder-1  |       at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.UserError.abort(UserError.java:73)
spring-native-builder-portal-builder-1  |       at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.classinitialization.ProvenSafeClassInitializationSupport.checkDelayedInitialization(ProvenSafeClassInitializationSupport.java:273)
spring-native-builder-portal-builder-1  |       at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.classinitialization.ClassInitializationFeature.duringAnalysis(ClassInitializationFeature.java:164)
spring-native-builder-portal-builder-1  |       at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$10(NativeImageGenerator.java:748)
spring-native-builder-portal-builder-1  |       at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.FeatureHandler.forEachFeature(FeatureHandler.java:85)
spring-native-builder-portal-builder-1  |       at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$11(NativeImageGenerator.java:748)
spring-native-builder-portal-builder-1  |       at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.AbstractAnalysisEngine.runAnalysis(AbstractAnalysisEngine.java:162)
spring-native-builder-portal-builder-1  |       at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:745)
spring-native-builder-portal-builder-1  |       at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:578)
spring-native-builder-portal-builder-1  |       at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:535)
spring-native-builder-portal-builder-1  |       at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:403)
spring-native-builder-portal-builder-1  |       at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:580)
spring-native-builder-portal-builder-1  |       at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:128)
spring-native-builder-portal-builder-1  | ------------------------------------------------------------------------------------------------------------------------
spring-native-builder-portal-builder-1  |                         14.9s (5.7% of total time) in 24 GCs | Peak RSS: 6.10GB | CPU load: 1.26
spring-native-builder-portal-builder-1  | ========================================================================================================================
spring-native-builder-portal-builder-1  | Failed generating 'portal-service' after 4m 20s.
spring-native-builder-portal-builder-1  | Error: Image build request failed with exit status 1
spring-native-builder-portal-builder-1  | [INFO] ------------------------------------------------------------------------
spring-native-builder-portal-builder-1  | [INFO] BUILD FAILURE
spring-native-builder-portal-builder-1  | [INFO] ------------------------------------------------------------------------
spring-native-builder-portal-builder-1  | [INFO] Total time:  06:15 min
spring-native-builder-portal-builder-1  | [INFO] Finished at: 2023-11-01T10:48:49Z
spring-native-builder-portal-builder-1  | [INFO] ------------------------------------------------------------------------
spring-native-builder-portal-builder-1  | [ERROR] Failed to execute goal org.graalvm.buildtools:native-maven-plugin:0.9.19:compile (default-cli) on project portal-service: Execution of /opt/graalvm-ce-java17-22.3.1/bin/native-image -cp /build/iam/manager/portal-service/target/classes:/home/ssoadm/.m2/repository/net/minidev/json-smart/2.4.8/json-smart-2.4.8.jar:/home/ssoadm/.m2/repository/com/google/guava/guava/32.1.2-jre/guava-32.1.2-jre.jar:/home/ssoadm/.m2/repository/joda-time/joda-time/2.8.1/joda-time-2.8.1.jar:/home/ssoadm/.m2/repository/org/antlr/antlr4-runtime/4.10.1/antlr4-runtime-4.10.1.jar:/home/ssoadm/.m2/repository/net/minidev/accessors-smart/2.4.8/accessors-smart-2.4.8.jar:/home/ssoadm/.m2/repository/jakarta/activation/jakarta.activation-api/2.1.0/jakarta.activation-api-2.1.0.jar:/home/ssoadm/.m2/repository/commons-codec/commons-codec/1.15/commons-codec-1.15.jar:/home/ssoadm/.m2/repository/org/opensaml/opensaml-saml-api/5.0.0-SNAPSHOT/opensaml-saml-api-5.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/org/opensaml/opensaml-soap-impl/5.0.0-SNAPSHOT/opensaml-soap-impl-5.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/org/springframework/boot/spring-boot-starter-validation/3.0.1/spring-boot-starter-validation-3.0.1.jar:/home/ssoadm/.m2/repository/com/auth0/java-jwt/4.4.0/java-jwt-4.4.0.jar:/home/ssoadm/.m2/repository/org/hibernate/orm/hibernate-core/6.1.6.Final/hibernate-core-6.1.6.Final.jar:/home/ssoadm/.m2/repository/org/springframework/spring-context/6.0.3/spring-context-6.0.3.jar:/home/ssoadm/.m2/repository/com/zaxxer/SparseBitSet/1.2/SparseBitSet-1.2.jar:/home/ssoadm/.m2/repository/com/ncs/secureconnect/iam/common-service/1.0.0/common-service-1.0.0.jar:/home/ssoadm/.m2/repository/jakarta/transaction/jakarta.transaction-api/2.0.1/jakarta.transaction-api-2.0.1.jar:/home/ssoadm/.m2/repository/org/slf4j/slf4j-api/2.0.6/slf4j-api-2.0.6.jar:/home/ssoadm/.m2/repository/org/springframework/boot/spring-boot-starter/3.0.1/spring-boot-starter-3.0.1.jar:/home/ssoadm/.m2/repository/org/opensaml/opensaml-xmlsec-api/5.0.0-SNAPSHOT/opensaml-xmlsec-api-5.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/ognl/ognl/3.3.4/ognl-3.3.4.jar:/home/ssoadm/.m2/repository/org/opensaml/opensaml-xmlsec-impl/5.0.0-SNAPSHOT/opensaml-xmlsec-impl-5.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/org/springframework/spring-aspects/6.0.3/spring-aspects-6.0.3.jar:/home/ssoadm/.m2/repository/org/bouncycastle/bcutil-jdk18on/1.76/bcutil-jdk18on-1.76.jar:/home/ssoadm/.m2/repository/org/springframework/boot/spring-boot-starter-data-jpa/3.0.1/spring-boot-starter-data-jpa-3.0.1.jar:/home/ssoadm/.m2/repository/org/opensaml/opensaml-profile-api/5.0.0-SNAPSHOT/opensaml-profile-api-5.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/org/javassist/javassist/3.29.0-GA/javassist-3.29.0-GA.jar:/home/ssoadm/.m2/repository/commons-beanutils/commons-beanutils/1.9.4/commons-beanutils-1.9.4.jar:/home/ssoadm/.m2/repository/org/apache/santuario/xmlsec/3.0.2/xmlsec-3.0.2.jar:/home/ssoadm/.m2/repository/org/springframework/spring-core/6.0.3/spring-core-6.0.3.jar:/home/ssoadm/.m2/repository/com/github/ulisesbocchio/jasypt-spring-boot-starter/3.0.5/jasypt-spring-boot-starter-3.0.5.jar:/home/ssoadm/.m2/repository/org/springframework/security/spring-security-web/6.0.1/spring-security-web-6.0.1.jar:/home/ssoadm/.m2/repository/org/cryptacular/cryptacular/1.2.6/cryptacular-1.2.6.jar:/home/ssoadm/.m2/repository/com/sun/activation/jakarta.activation/2.0.1/jakarta.activation-2.0.1.jar:/home/ssoadm/.m2/repository/org/springframework/data/spring-data-commons/3.0.0/spring-data-commons-3.0.0.jar:/home/ssoadm/.m2/repository/org/apache/httpcomponents/httpclient/4.5.14/httpclient-4.5.14.jar:/home/ssoadm/.m2/repository/com/github/ulisesbocchio/jasypt-spring-boot/3.0.5/jasypt-spring-boot-3.0.5.jar:/home/ssoadm/.m2/repository/com/nimbusds/oauth2-oidc-sdk/10.9.2/oauth2-oidc-sdk-10.9.2.jar:/home/ssoadm/.m2/repository/org/springframework/boot/spring-boot-configuration-processor/3.0.1/spring-boot-configuration-processor-3.0.1.jar:/home/ssoadm/.m2/repository/net/shibboleth/shib-velocity/9.0.0-SNAPSHOT/shib-velocity-9.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/org/webjars/swagger-ui/4.15.5/swagger-ui-4.15.5.jar:/home/ssoadm/.m2/repository/org/springframework/spring-beans/6.0.3/spring-beans-6.0.3.jar:/home/ssoadm/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/4.0.0/jakarta.xml.bind-api-4.0.0.jar:/home/ssoadm/.m2/repository/io/micrometer/micrometer-commons/1.10.2/micrometer-commons-1.10.2.jar:/home/ssoadm/.m2/repository/io/swagger/core/v3/swagger-models-jakarta/2.2.7/swagger-models-jakarta-2.2.7.jar:/home/ssoadm/.m2/repository/org/jasypt/jasypt/1.9.3/jasypt-1.9.3.jar:/home/ssoadm/.m2/repository/com/nimbusds/content-type/2.2/content-type-2.2.jar:/home/ssoadm/.m2/repository/org/springframework/spring-aop/6.0.3/spring-aop-6.0.3.jar:/home/ssoadm/.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/home/ssoadm/.m2/repository/com/ncs/secureconnect/iam/common-cache/1.0.0/common-cache-1.0.0.jar:/home/ssoadm/.m2/repository/org/springframework/spring-expression/6.0.3/spring-expression-6.0.3.jar:/home/ssoadm/.m2/repository/commons-net/commons-net/3.3/commons-net-3.3.jar:/home/ssoadm/.m2/repository/org/springframework/spring-jdbc/6.0.3/spring-jdbc-6.0.3.jar:/home/ssoadm/.m2/repository/io/dropwizard/metrics/metrics-json/4.2.14/metrics-json-4.2.14.jar:/home/ssoadm/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar:/home/ssoadm/.m2/repository/io/jsonwebtoken/jjwt-impl/0.11.5/jjwt-impl-0.11.5.jar:/home/ssoadm/.m2/repository/com/google/code/gson/gson/2.9.1/gson-2.9.1.jar:/home/ssoadm/.m2/repository/com/amazonaws/aws-java-sdk-sqs/1.12.533/aws-java-sdk-sqs-1.12.533.jar:/home/ssoadm/.m2/repository/io/dropwizard/metrics/metrics-core/4.2.14/metrics-core-4.2.14.jar:/home/ssoadm/.m2/repository/org/springframework/security/spring-security-config/6.0.1/spring-security-config-6.0.1.jar:/home/ssoadm/.m2/repository/org/opensaml/opensaml-soap-api/5.0.0-SNAPSHOT/opensaml-soap-api-5.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/org/thymeleaf/thymeleaf/3.1.1.RELEASE/thymeleaf-3.1.1.RELEASE.jar:/home/ssoadm/.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:/home/ssoadm/.m2/repository/org/apache/httpcomponents/client5/httpclient5-cache/5.1.4/httpclient5-cache-5.1.4.jar:/home/ssoadm/.m2/repository/org/apache/poi/poi-ooxml-lite/5.2.3/poi-ooxml-lite-5.2.3.jar:/home/ssoadm/.m2/repository/org/springframework/boot/spring-boot-starter-web/3.0.1/spring-boot-starter-web-3.0.1.jar:/home/ssoadm/.m2/repository/net/shibboleth/utilities/java-support/8.0.0/java-support-8.0.0.jar:/home/ssoadm/.m2/repository/org/bouncycastle/bcpkix-jdk15on/1.70/bcpkix-jdk15on-1.70.jar:/home/ssoadm/.m2/repository/org/aspectj/aspectjweaver/1.9.19/aspectjweaver-1.9.19.jar:/home/ssoadm/.m2/repository/org/springframework/spring-jcl/6.0.3/spring-jcl-6.0.3.jar:/home/ssoadm/.m2/repository/com/github/stephenc/jcip/jcip-annotations/1.0-1/jcip-annotations-1.0-1.jar:/home/ssoadm/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/home/ssoadm/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/2.14.1/jackson-dataformat-cbor-2.14.1.jar:/home/ssoadm/.m2/repository/org/apache/commons/commons-compress/1.21/commons-compress-1.21.jar:/home/ssoadm/.m2/repository/com/amazonaws/aws-java-sdk-kms/1.12.533/aws-java-sdk-kms-1.12.533.jar:/home/ssoadm/.m2/repository/jakarta/annotation/jakarta.annotation-api/2.1.1/jakarta.annotation-api-2.1.1.jar:/home/ssoadm/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.14.1/jackson-annotations-2.14.1.jar:/home/ssoadm/.m2/repository/org/unbescape/unbescape/1.1.6.RELEASE/unbescape-1.1.6.RELEASE.jar:/home/ssoadm/.m2/repository/net/openhft/zero-allocation-hashing/0.16/zero-allocation-hashing-0.16.jar:/home/ssoadm/.m2/repository/com/nimbusds/lang-tag/1.7/lang-tag-1.7.jar:/home/ssoadm/.m2/repository/org/eclipse/angus/angus-activation/1.0.0/angus-activation-1.0.0.jar:/home/ssoadm/.m2/repository/org/projectlombok/lombok/1.18.24/lombok-1.18.24.jar:/home/ssoadm/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/home/ssoadm/.m2/repository/com/amazonaws/aws-java-sdk-sns/1.12.533/aws-java-sdk-sns-1.12.533.jar:/home/ssoadm/.m2/repository/org/glassfish/jaxb/jaxb-core/4.0.1/jaxb-core-4.0.1.jar:/home/ssoadm/.m2/repository/org/opensaml/opensaml-messaging-api/5.0.0-SNAPSHOT/opensaml-messaging-api-5.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/com/ncs/secureconnect/iam/common-commons/1.0.0/common-commons-1.0.0.jar:/home/ssoadm/.m2/repository/org/bouncycastle/bcutil-jdk15on/1.70/bcutil-jdk15on-1.70.jar:/home/ssoadm/.m2/repository/org/glassfish/jaxb/txw2/4.0.1/txw2-4.0.1.jar:/home/ssoadm/.m2/repository/com/nimbusds/nimbus-jose-jwt/9.24.3/nimbus-jose-jwt-9.24.3.jar:/home/ssoadm/.m2/repository/org/springframework/security/spring-security-crypto/6.0.1/spring-security-crypto-6.0.1.jar:/home/ssoadm/.m2/repository/org/bouncycastle/bcprov-jdk18on/1.76/bcprov-jdk18on-1.76.jar:/home/ssoadm/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.70/bcprov-jdk15on-1.70.jar:/home/ssoadm/.m2/repository/io/jsonwebtoken/jjwt-api/0.11.5/jjwt-api-0.11.5.jar:/home/ssoadm/.m2/repository/org/apache/httpcomponents/core5/httpcore5-h2/5.1.5/httpcore5-h2-5.1.5.jar:/home/ssoadm/.m2/repository/com/github/virtuald/curvesapi/1.07/curvesapi-1.07.jar:/home/ssoadm/.m2/repository/org/hibernate/common/hibernate-commons-annotations/6.0.2.Final/hibernate-commons-annotations-6.0.2.Final.jar:/home/ssoadm/.m2/repository/org/opensaml/opensaml-saml-impl/5.0.0-SNAPSHOT/opensaml-saml-impl-5.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/mysql/mysql-connector-java/8.0.30/mysql-connector-java-8.0.30.jar:/home/ssoadm/.m2/repository/org/opensaml/opensaml-storage-api/5.0.0-SNAPSHOT/opensaml-storage-api-5.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/com/bucket4j/bucket4j-core/8.3.0/bucket4j-core-8.3.0.jar:/home/ssoadm/.m2/repository/ch/qos/logback/logback-classic/1.4.5/logback-classic-1.4.5.jar:/home/ssoadm/.m2/repository/com/github/seancfoley/ipaddress/5.4.0/ipaddress-5.4.0.jar:/home/ssoadm/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar:/home/ssoadm/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/10.1.4/tomcat-embed-core-10.1.4.jar:/home/ssoadm/.m2/repository/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar:/home/ssoadm/.m2/repository/org/apache/logging/log4j/log4j-api/2.19.0/log4j-api-2.19.0.jar:/home/ssoadm/.m2/repository/com/ncs/secureconnect/secureconnect-enc/1.0.0/secureconnect-enc-1.0.0.jar:/home/ssoadm/.m2/repository/org/apache/velocity/velocity-engine-core/2.3/velocity-engine-core-2.3.jar:/home/ssoadm/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.14.1/jackson-dataformat-yaml-2.14.1.jar:/home/ssoadm/.m2/repository/org/springdoc/springdoc-openapi-starter-common/2.0.0/springdoc-openapi-starter-common-2.0.0.jar:/home/ssoadm/.m2/repository/net/shibboleth/shib-networking/9.0.0-SNAPSHOT/shib-networking-9.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/eu/bitwalker/UserAgentUtils/1.21/UserAgentUtils-1.21.jar:/home/ssoadm/.m2/repository/org/springdoc/springdoc-openapi-starter-webmvc-api/2.0.0/springdoc-openapi-starter-webmvc-api-2.0.0.jar:/home/ssoadm/.m2/repository/org/apache/commons/commons-text/1.10.0/commons-text-1.10.0.jar:/home/ssoadm/.m2/repository/com/github/ben-manes/caffeine/caffeine/3.1.2/caffeine-3.1.2.jar:/home/ssoadm/.m2/repository/com/zaxxer/HikariCP/5.0.1/HikariCP-5.0.1.jar:/home/ssoadm/.m2/repository/com/amazonaws/jmespath-java/1.12.533/jmespath-java-1.12.533.jar:/home/ssoadm/.m2/repository/org/springframework/boot/spring-boot-starter-jdbc/3.0.1/spring-boot-starter-jdbc-3.0.1.jar:/home/ssoadm/.m2/repository/com/google/errorprone/error_prone_annotations/2.16/error_prone_annotations-2.16.jar:/home/ssoadm/.m2/repository/org/apache/httpcomponents/client5/httpclient5/5.2.1/httpclient5-5.2.1.jar:/home/ssoadm/.m2/repository/org/owasp/encoder/encoder/1.2.3/encoder-1.2.3.jar:/home/ssoadm/.m2/repository/ch/qos/logback/logback-core/1.4.5/logback-core-1.4.5.jar:/home/ssoadm/.m2/repository/org/ow2/asm/asm/9.1/asm-9.1.jar:/home/ssoadm/.m2/repository/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:/home/ssoadm/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/10.1.4/tomcat-embed-el-10.1.4.jar:/home/ssoadm/.m2/repository/com/bucket4j/bucket4j-hazelcast/8.3.0/bucket4j-hazelcast-8.3.0.jar:/home/ssoadm/.m2/repository/org/springframework/security/spring-security-core/6.0.1/spring-security-core-6.0.1.jar:/home/ssoadm/.m2/repository/org/webjars/webjars-locator-core/0.52/webjars-locator-core-0.52.jar:/home/ssoadm/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/3.0.1/spring-boot-starter-tomcat-3.0.1.jar:/home/ssoadm/.m2/repository/org/opensaml/opensaml-core-impl/5.0.0-SNAPSHOT/opensaml-core-impl-5.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/org/springframework/spring-orm/6.0.3/spring-orm-6.0.3.jar:/home/ssoadm/.m2/repository/com/sun/istack/istack-commons-runtime/4.1.1/istack-commons-runtime-4.1.1.jar:/home/ssoadm/.m2/repository/org/jboss/logging/jboss-logging/3.5.0.Final/jboss-logging-3.5.0.Final.jar:/home/ssoadm/.m2/repository/org/yaml/snakeyaml/1.33/snakeyaml-1.33.jar:/home/ssoadm/.m2/repository/com/ncs/secureconnect/iam/common-security/1.0.0/common-security-1.0.0.jar:/home/ssoadm/.m2/repository/com/fasterxml/classmate/1.5.1/classmate-1.5.1.jar:/home/ssoadm/.m2/repository/net/shibboleth/shib-security/9.0.0-SNAPSHOT/shib-security-9.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/org/springframework/data/spring-data-jpa/3.0.0/spring-data-jpa-3.0.0.jar:/home/ssoadm/.m2/repository/com/opencsv/opencsv/5.8/opencsv-5.8.jar:/home/ssoadm/.m2/repository/org/apache/poi/poi-ooxml/5.2.3/poi-ooxml-5.2.3.jar:/home/ssoadm/.m2/repository/org/bouncycastle/bcpkix-jdk18on/1.76/bcpkix-jdk18on-1.76.jar:/home/ssoadm/.m2/repository/com/amazonaws/aws-java-sdk-sesv2/1.12.533/aws-java-sdk-sesv2-1.12.533.jar:/home/ssoadm/.m2/repository/org/springframework/boot/spring-boot/3.0.1/spring-boot-3.0.1.jar:/home/ssoadm/.m2/repository/org/opensaml/opensaml-core-api/5.0.0-SNAPSHOT/opensaml-core-api-5.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/org/hibernate/validator/hibernate-validator/8.0.0.Final/hibernate-validator-8.0.0.Final.jar:/home/ssoadm/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.14.1/jackson-core-2.14.1.jar:/home/ssoadm/.m2/repository/org/apache/xmlbeans/xmlbeans/5.1.1/xmlbeans-5.1.1.jar:/home/ssoadm/.m2/repository/org/opensaml/opensaml-security-api/5.0.0-SNAPSHOT/opensaml-security-api-5.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar:/home/ssoadm/.m2/repository/jakarta/persistence/jakarta.persistence-api/3.1.0/jakarta.persistence-api-3.1.0.jar:/home/ssoadm/.m2/repository/io/swagger/core/v3/swagger-annotations-jakarta/2.2.7/swagger-annotations-jakarta-2.2.7.jar:/home/ssoadm/.m2/repository/org/attoparser/attoparser/2.0.6.RELEASE/attoparser-2.0.6.RELEASE.jar:/home/ssoadm/.m2/repository/com/hazelcast/hazelcast/5.1.5/hazelcast-5.1.5.jar:/home/ssoadm/.m2/repository/org/modelmapper/modelmapper/2.3.0/modelmapper-2.3.0.jar:/home/ssoadm/.m2/repository/org/springframework/boot/spring-boot-starter-security/3.0.1/spring-boot-starter-security-3.0.1.jar:/home/ssoadm/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/3.0.1/spring-boot-autoconfigure-3.0.1.jar:/home/ssoadm/.m2/repository/org/slf4j/jul-to-slf4j/2.0.6/jul-to-slf4j-2.0.6.jar:/home/ssoadm/.m2/repository/org/checkerframework/checker-qual/3.27.0/checker-qual-3.27.0.jar:/home/ssoadm/.m2/repository/io/github/classgraph/classgraph/4.8.149/classgraph-4.8.149.jar:/home/ssoadm/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.14.1/jackson-datatype-jdk8-2.14.1.jar:/home/ssoadm/.m2/repository/org/glassfish/jaxb/jaxb-runtime/4.0.1/jaxb-runtime-4.0.1.jar:/home/ssoadm/.m2/repository/jakarta/validation/jakarta.validation-api/3.0.2/jakarta.validation-api-3.0.2.jar:/home/ssoadm/.m2/repository/org/springframework/boot/spring-boot-starter-aop/3.0.1/spring-boot-starter-aop-3.0.1.jar:/home/ssoadm/.m2/repository/org/springframework/spring-tx/6.0.3/spring-tx-6.0.3.jar:/home/ssoadm/.m2/repository/io/jsonwebtoken/jjwt-gson/0.11.5/jjwt-gson-0.11.5.jar:/home/ssoadm/.m2/repository/com/ncs/secureconnect/iam/common-dao/1.0.0/common-dao-1.0.0.jar:/home/ssoadm/.m2/repository/org/springframework/boot/spring-boot-starter-logging/3.0.1/spring-boot-starter-logging-3.0.1.jar:/home/ssoadm/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/10.1.4/tomcat-embed-websocket-10.1.4.jar:/home/ssoadm/.m2/repository/org/springframework/spring-webmvc/6.0.3/spring-webmvc-6.0.3.jar:/home/ssoadm/.m2/repository/org/opensaml/opensaml-security-impl/5.0.0-SNAPSHOT/opensaml-security-impl-5.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/io/swagger/core/v3/swagger-core-jakarta/2.2.7/swagger-core-jakarta-2.2.7.jar:/home/ssoadm/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.14.1/jackson-module-parameter-names-2.14.1.jar:/home/ssoadm/.m2/repository/net/shibboleth/shib-support/9.0.0-SNAPSHOT/shib-support-9.0.0-SNAPSHOT.jar:/home/ssoadm/.m2/repository/org/apache/httpcomponents/core5/httpcore5/5.1.5/httpcore5-5.1.5.jar:/home/ssoadm/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.14.1/jackson-datatype-jsr310-2.14.1.jar:/home/ssoadm/.m2/repository/com/amazonaws/aws-java-sdk-s3/1.12.533/aws-java-sdk-s3-1.12.533.jar:/home/ssoadm/.m2/repository/com/google/j2objc/j2objc-annotations/2.8/j2objc-annotations-2.8.jar:/home/ssoadm/.m2/repository/org/springdoc/springdoc-openapi-starter-webmvc-ui/2.0.0/springdoc-openapi-starter-webmvc-ui-2.0.0.jar:/home/ssoadm/.m2/repository/com/amazonaws/aws-java-sdk-core/1.12.533/aws-java-sdk-core-1.12.533.jar:/home/ssoadm/.m2/repository/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar:/home/ssoadm/.m2/repository/org/jboss/jandex/2.4.2.Final/jandex-2.4.2.Final.jar:/home/ssoadm/.m2/repository/net/bytebuddy/byte-buddy/1.12.20/byte-buddy-1.12.20.jar:/home/ssoadm/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.19.0/log4j-to-slf4j-2.19.0.jar:/home/ssoadm/.m2/repository/com/sun/mail/jakarta.mail/2.0.1/jakarta.mail-2.0.1.jar:/home/ssoadm/.m2/repository/org/apache/poi/poi/5.2.3/poi-5.2.3.jar:/home/ssoadm/.m2/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/home/ssoadm/.m2/repository/com/ncs/secureconnect/secureconnect-ext/1.0.0/secureconnect-ext-1.0.0.jar:/home/ssoadm/.m2/repository/org/springframework/boot/spring-boot-starter-json/3.0.1/spring-boot-starter-json-3.0.1.jar:/home/ssoadm/.m2/repository/io/micrometer/micrometer-observation/1.10.2/micrometer-observation-1.10.2.jar:/home/ssoadm/.m2/repository/software/amazon/ion/ion-java/1.0.2/ion-java-1.0.2.jar:/home/ssoadm/.m2/repository/org/apache/commons/commons-pool2/2.11.1/commons-pool2-2.11.1.jar:/home/ssoadm/.m2/repository/jakarta/inject/jakarta.inject-api/2.0.0/jakarta.inject-api-2.0.0.jar:/home/ssoadm/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.14.1/jackson-databind-2.14.1.jar:/home/ssoadm/.m2/repository/com/ncs/secureconnect/iam/common-saml/1.0.0/common-saml-1.0.0.jar:/home/ssoadm/.m2/repository/org/springframework/spring-web/6.0.3/spring-web-6.0.3.jar --no-fallback -H:Path=/build/iam/manager/portal-service/target -H:Name=portal-service -H:ConfigurationFileDirectories=/build/iam/manager/portal-service/target/graalvm-reachability-metadata/228725e489e82af83cbfac8e41c5a3c256d86f91/mysql/mysql-connector-java/8.0.29,/build/iam/manager/portal-service/target/graalvm-reachability-metadata/228725e489e82af83cbfac8e41c5a3c256d86f91/org.jboss.logging/jboss-logging/3.5.0.Final,/build/iam/manager/portal-service/target/graalvm-reachability-metadata/228725e489e82af83cbfac8e41c5a3c256d86f91/org.apache.commons/commons-pool2/2.11.1,/build/iam/manager/portal-service/target/graalvm-reachability-metadata/228725e489e82af83cbfac8e41c5a3c256d86f91/org.hibernate.orm/hibernate-core/6.1.1.Final,/build/iam/manager/portal-service/target/graalvm-reachability-metadata/228725e489e82af83cbfac8e41c5a3c256d86f91/org.glassfish.jaxb/jaxb-runtime/3.0.2,/build/iam/manager/portal-service/target/graalvm-reachability-metadata/228725e489e82af83cbfac8e41c5a3c256d86f91/com.sun.mail/jakarta.mail/2.0.1,/build/iam/manager/portal-service/target/graalvm-reachability-metadata/228725e489e82af83cbfac8e41c5a3c256d86f91/ch.qos.logback/logback-classic/1.4.1,/build/iam/manager/portal-service/target/graalvm-reachability-metadata/228725e489e82af83cbfac8e41c5a3c256d86f91/com.zaxxer/HikariCP/5.0.1,/build/iam/manager/portal-service/target/graalvm-reachability-metadata/228725e489e82af83cbfac8e41c5a3c256d86f91/org.hibernate.validator/hibernate-validator/7.0.4.Final,/build/iam/manager/portal-service/target/graalvm-reachability-metadata/228725e489e82af83cbfac8e41c5a3c256d86f91/org.apache.tomcat.embed/tomcat-embed-core/10.0.20,/build/iam/manager/portal-service/target/graalvm-reachability-metadata/228725e489e82af83cbfac8e41c5a3c256d86f91/org.thymeleaf/thymeleaf/3.1.0.RC1 -H:+AddAllCharsets -H:+TraceSecurityServices -H:+ReportExceptionStackTraces returned non-zero result -> [Help 1]
spring-native-builder-portal-builder-1  | [ERROR]
spring-native-builder-portal-builder-1  | [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
spring-native-builder-portal-builder-1  | [ERROR] Re-run Maven using the -X switch to enable full debug logging.
spring-native-builder-portal-builder-1  | [ERROR]
spring-native-builder-portal-builder-1  | [ERROR] For more information about the errors and possible solutions, please read the following articles:
spring-native-builder-portal-builder-1  | [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
spring-native-builder-portal-builder-1 exited with code 1
wilkinsona commented 1 year ago

You should follow the recommendation in the error message and use --trace-class-initialization to determine why some Bouncycastle types have been initialized at build time. Spring Boot does not provide any support for Bouncycastle so I believe that this initialization is out of our control. If that turns out not to be the case, we can re-open this issue and take another look.

KaeYan93 commented 1 year ago

Hi, thanks for the prompt reply. I followed your suggestion to trace class initialization. Seems like all of the initialization is caused by the same following error. Can you help me with this to understand why and how it might happen? Thanks

org.bouncycastle.jcajce.provider.symmetric.Threefish$Mappings was unintentionally initialized at build time. sun.nio.ch.UnixDomainSockets caused initialization of this class with the following trace:
        at org.bouncycastle.jcajce.provider.symmetric.Threefish$Mappings.<clinit>(Unknown Source)
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Unknown Source)
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
        at java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128)
        at jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347)
        at java.lang.Class.newInstance(Class.java:645)
        at org.bouncycastle.jce.provider.BouncyCastleProvider.loadServiceClass(BouncyCastleProvider.java:339)
        at org.bouncycastle.jce.provider.BouncyCastleProvider.loadAlgorithms(BouncyCastleProvider.java:319)
        at org.bouncycastle.jce.provider.BouncyCastleProvider.setup(BouncyCastleProvider.java:190)
        at org.bouncycastle.jce.provider.BouncyCastleProvider.access$000(BouncyCastleProvider.java:72)
        at org.bouncycastle.jce.provider.BouncyCastleProvider$1.run(BouncyCastleProvider.java:176)
        at java.security.AccessController.executePrivileged(AccessController.java:776)
        at java.security.AccessController.doPrivileged(AccessController.java:318)
        at org.bouncycastle.jce.provider.BouncyCastleProvider.<init>(BouncyCastleProvider.java:172)
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Unknown Source)
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:480)
        at java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:789)
        at java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:729)
        at java.util.ServiceLoader$3.next(ServiceLoader.java:1403)
        at sun.security.jca.ProviderConfig$ProviderLoader.load(ProviderConfig.java:347)
        at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:254)
        at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:248)
        at java.security.AccessController.executePrivileged(AccessController.java:776)
        at java.security.AccessController.doPrivileged(AccessController.java:318)
        at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:248)
        at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:226)
        at sun.security.jca.ProviderList.getProvider(ProviderList.java:268)
        at sun.security.jca.ProviderList.getService(ProviderList.java:381)
        at sun.security.jca.GetInstance.getInstance(GetInstance.java:157)
        at java.security.SecureRandom.getInstance(SecureRandom.java:387)
        at sun.nio.ch.UnixDomainSockets.getRandom(UnixDomainSockets.java:118)
        at sun.nio.ch.UnixDomainSockets.<clinit>(UnixDomainSockets.java:124)
wilkinsona commented 1 year ago

You either need to prevent UnixDomainSockets from being loaded or you need to allow the Bouncycastle class to be initialized at build time using --initialize-at-build-time. This isn't the right place to get help with general GraalVM problems. If you have any further questions, please follow up with the GraalVM community instead.