spring-attic / spring-native

Spring Native is now superseded by Spring Boot 3 official native support
https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html
Apache License 2.0
2.74k stars 356 forks source link

Mention error 137 in the troubleshooting section #594

Closed AzarguNazari closed 3 years ago

AzarguNazari commented 3 years ago

As I was trying to build the native image out of the following pom.xml file.

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>de.favendo.backspin</groupId>
    <artifactId>spring-boot-admin</artifactId>
    <version>2.4</version>
    <packaging>jar</packaging>

    <name>spring-boot-admin</name>
    <description>Spring Boot Admin</description>

    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.4.3</version>
        <relativePath/> <!-- lookup parent from repository -->
    </parent>

    <properties>
        <spring-native.version>0.9.0</spring-native.version>
        <revision>0-SNAPSHOT</revision>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <java.version>1.8</java.version>
        <spring-boot-admin.version>2.2.4</spring-boot-admin.version>
        <guava-version>24.0-jre</guava-version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.springframework.experimental</groupId>
            <artifactId>spring-native</artifactId>
            <version>${spring-native.version}</version>
        </dependency>

        <dependency>
            <groupId>de.codecentric</groupId>
            <artifactId>spring-boot-admin-starter-server</artifactId>
            <version>${spring-boot-admin.version}</version>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-mail</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-security</artifactId>
        </dependency>

    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <image>
                        <builder>paketobuildpacks/builder:tiny</builder>
                        <env>
                            <BP_NATIVE_IMAGE>true</BP_NATIVE_IMAGE>
                        </env>
                    </image>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.springframework.experimental</groupId>
                <artifactId>spring-aot-maven-plugin</artifactId>
                <version>${spring-native.version}</version>
                <executions>
                    <execution>
                        <id>test-generate</id>
                        <goals>
                            <goal>test-generate</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>generate</id>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

    <repositories>
        <repository>
            <id>spring-releases</id>
            <name>Spring Releases</name>
            <url>https://repo.spring.io/release</url>
        </repository>
    </repositories>
    <pluginRepositories>
        <pluginRepository>
            <id>spring-releases</id>
            <name>Spring Releases</name>
            <url>https://repo.spring.io/release</url>
        </pluginRepository>
    </pluginRepositories>
</project>

with the command ./mvnw clean spring-boot:build-image

I get the following error

[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/de.favendo.commander.sba.MainApplication:178]    classlist:   5,142.17 ms,  2.02 GB
[INFO]     [creator]     Warning: class initialization of class org.springframework.boot.validation.MessageInterpolatorFactory failed with exception java.lang.NoClassDefFoundError: javax/validation/ValidationException. This class will be initialized at run time because option --allow-incomplete-classpath is used for image building. Use the option --initialize-at-run-time=org.springframework.boot.validation.MessageInterpolatorFactory to explicitly request delayed initialization of this class.
[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/de.favendo.commander.sba.MainApplication:178]        (cap):   4,708.31 ms,  2.02 GB
[INFO]     [creator]     WARNING: Could not register org.springframework.boot.autoconfigure.web.reactive.function.client.ClientHttpConnectorConfiguration$JettyClient: allDeclaredConstructors for reflection. Reason: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/ssl/SslContextFactory.
[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/de.favendo.commander.sba.MainApplication:178]        setup:   7,556.71 ms,  2.02 GB
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.web.multipart.commons.CommonsMultipartResolver. Reason: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.InfinispanCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/infinispan/manager/EmbeddedCacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CaffeineCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/CaffeineSpec.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/server/resource/web/BearerTokenResolver.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.web.reactive.function.client.ClientHttpConnectorConfiguration$JettyClient. Reason: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/ssl/SslContextFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/redis/connection/RedisConnectionFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.jcache.JCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Ljavax/cache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.configuration.OAuth2ClientConfiguration$OAuth2ClientWebMvcSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/client/OAuth2AuthorizedClientManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.HazelcastCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/hazelcast/core/HazelcastInstance.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration. Reason: java.lang.NoClassDefFoundError: com/google/gson/GsonBuilder.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.rsocket.RSocketMessagingAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/messaging/rsocket/RSocketStrategies.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.security.SecurityDataConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/data/repository/query/SecurityEvaluationContextExtension.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.ehcache.EhCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Lnet/sf/ehcache/CacheManager;.
[INFO]     [creator]     22:31:04.283 [ForkJoinPool-4-worker-6] DEBUG io.netty.util.internal.logging.InternalLoggerFactory - Using SLF4J as the default logging framework
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.EhCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/validation/Validator.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.caffeine.CaffeineCacheManager. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.core.ReactiveAdapterRegistry. Reason: java.lang.NoClassDefFoundError: reactor/blockhound/integration/BlockHoundIntegration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.ReactiveOAuth2ClientImportSelector$OAuth2ClientWebFluxSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/client/ReactiveOAuth2AuthorizedClientManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CouchbaseCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/couchbase/cache/CouchbaseCacheManager$CouchbaseCacheManagerBuilder.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator. Reason: java.lang.NoClassDefFoundError: org/aspectj/util/PartialOrder$PartialComparable.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer$JwtConfigurer. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/jwt/JwtDecoder.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator. Reason: java.lang.NoClassDefFoundError: org/aspectj/util/PartialOrder$PartialComparable.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/json/bind/Jsonb.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.JCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: javax/cache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.RedisCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/redis/serializer/RedisSerializer.
[INFO]     [creator]     22:31:13.171 [ForkJoinPool-4-worker-7] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024
[INFO]     [creator]     22:31:13.172 [ForkJoinPool-4-worker-7] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096
[INFO]     [creator]     22:31:17.569 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.internal.PlatformDependent0 - -Dio.netty.noUnsafe: false
[INFO]     [creator]     22:31:17.570 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.internal.PlatformDependent0 - Java version: 8
[INFO]     [creator]     22:31:17.570 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
[INFO]     [creator]     22:31:17.570 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
[INFO]     [creator]     22:31:17.570 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Buffer.address: available
[INFO]     [creator]     22:31:17.571 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.internal.PlatformDependent0 - direct buffer constructor: available
[INFO]     [creator]     22:31:17.571 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: available, true
[INFO]     [creator]     22:31:17.571 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.internal.PlatformDependent0 - jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable prior to Java9
[INFO]     [creator]     22:31:17.571 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.DirectByteBuffer.<init>(long, int): available
[INFO]     [creator]     22:31:17.571 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.internal.PlatformDependent - sun.misc.Unsafe: available
[INFO]     [creator]     22:31:17.572 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
[INFO]     [creator]     22:31:17.572 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model)
[INFO]     [creator]     22:31:17.572 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.maxDirectMemory: 11686379520 bytes
[INFO]     [creator]     22:31:17.572 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.uninitializedArrayAllocationThreshold: -1
[INFO]     [creator]     22:31:17.573 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.internal.CleanerJava6 - java.nio.ByteBuffer.cleaner(): available
[INFO]     [creator]     22:31:17.573 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false
[INFO]     [creator]     22:31:22.898 [ForkJoinPool-4-worker-6] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization: false
[INFO]     [creator]     22:31:22.898 [ForkJoinPool-4-worker-6] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512
[INFO]     [creator]     22:31:22.936 [ForkJoinPool-2-worker-3] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacityPerThread: 4096
[INFO]     [creator]     22:31:22.936 [ForkJoinPool-2-worker-3] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxSharedCapacityFactor: 2
[INFO]     [creator]     22:31:22.937 [ForkJoinPool-2-worker-3] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.linkCapacity: 16
[INFO]     [creator]     22:31:22.937 [ForkJoinPool-2-worker-3] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.ratio: 8
[INFO]     [creator]     22:31:22.937 [ForkJoinPool-2-worker-3] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.delayedQueue.ratio: 8
[INFO]     [creator]     22:31:24.444 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple
[INFO]     [creator]     22:31:24.445 [ForkJoinPool-2-worker-6] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.targetRecords: 4
[INFO]     [creator]     22:31:27.123 [ForkJoinPool-2-worker-4] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv4Stack: false
[INFO]     [creator]     22:31:27.124 [ForkJoinPool-2-worker-4] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv6Addresses: false
[INFO]     [creator]     22:31:27.125 [ForkJoinPool-2-worker-4] DEBUG io.netty.util.NetUtilInitializations - Loopback interface: lo (lo, 127.0.0.1)
[INFO]     [creator]     22:31:27.126 [ForkJoinPool-2-worker-4] DEBUG io.netty.util.NetUtil - /proc/sys/net/core/somaxconn: 4096
[INFO]     [creator]     22:31:30.714 [ForkJoinPool-2-worker-7] DEBUG io.netty.handler.ssl.OpenSsl - netty-tcnative not in the classpath; OpenSslEngine will be unavailable.
[INFO]     [creator]     Warning: class initialization of class io.netty.handler.ssl.ReferenceCountedOpenSslContext failed with exception java.lang.NoClassDefFoundError: io/netty/internal/tcnative/SSLPrivateKeyMethod. This class will be initialized at run time because option --allow-incomplete-classpath is used for image building. Use the option --initialize-at-run-time=io.netty.handler.ssl.ReferenceCountedOpenSslContext to explicitly request delayed initialization of this class.
[INFO]     [creator]     22:31:34.239 [ForkJoinPool-2-worker-6] DEBUG io.netty.handler.ssl.JdkSslContext - Default protocols (JDK): [TLSv1.2, TLSv1.1, TLSv1] 
[INFO]     [creator]     22:31:34.239 [ForkJoinPool-2-worker-6] DEBUG io.netty.handler.ssl.JdkSslContext - Default cipher suites (JDK): [TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384]
[INFO]     [creator]     Warning: class initialization of class io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator failed with exception java.lang.NoClassDefFoundError: org/eclipse/jetty/npn/NextProtoNego$Provider. This class will be initialized at run time because option --allow-incomplete-classpath is used for image building. Use the option --initialize-at-run-time=io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator to explicitly request delayed initialization of this class.
[INFO]     [creator]     22:31:36.232 [ForkJoinPool-4-worker-3] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.checkAccessible: true
[INFO]     [creator]     22:31:36.232 [ForkJoinPool-4-worker-3] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.checkBounds: true
[INFO]     [creator]     22:31:36.233 [ForkJoinPool-4-worker-3] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@644e4230
[INFO]     [creator]     22:31:44.678 [ForkJoinPool-4-worker-2] DEBUG io.netty.handler.codec.compression.ZlibCodecFactory - -Dio.netty.noJdkZlibDecoder: false
[INFO]     [creator]     22:31:44.679 [ForkJoinPool-4-worker-2] DEBUG io.netty.handler.codec.compression.ZlibCodecFactory - -Dio.netty.noJdkZlibEncoder: false
[INFO]     [creator]     22:31:44.699 [ForkJoinPool-2-worker-2] DEBUG io.netty.channel.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 16
[INFO]     [creator]     22:31:46.285 [ForkJoinPool-2-worker-5] DEBUG io.netty.util.internal.PlatformDependent - org.jctools-core.MpscChunkedArrayQueue: available
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.web.multipart.commons.CommonsMultipartResolver. Reason: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.InfinispanCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/infinispan/manager/EmbeddedCacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CaffeineCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/CaffeineSpec.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/server/resource/web/BearerTokenResolver.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.web.reactive.function.client.ClientHttpConnectorConfiguration$JettyClient. Reason: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/ssl/SslContextFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/redis/connection/RedisConnectionFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.jcache.JCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Ljavax/cache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.configuration.OAuth2ClientConfiguration$OAuth2ClientWebMvcSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/client/OAuth2AuthorizedClientManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.HazelcastCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/hazelcast/core/HazelcastInstance.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration. Reason: java.lang.NoClassDefFoundError: com/google/gson/GsonBuilder.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.rsocket.RSocketMessagingAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/messaging/rsocket/RSocketStrategies.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.security.SecurityDataConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/data/repository/query/SecurityEvaluationContextExtension.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.ehcache.EhCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Lnet/sf/ehcache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.EhCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/validation/Validator.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.caffeine.CaffeineCacheManager. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.core.ReactiveAdapterRegistry. Reason: java.lang.NoClassDefFoundError: reactor/blockhound/integration/BlockHoundIntegration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.ReactiveOAuth2ClientImportSelector$OAuth2ClientWebFluxSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/client/ReactiveOAuth2AuthorizedClientManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CouchbaseCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/couchbase/cache/CouchbaseCacheManager$CouchbaseCacheManagerBuilder.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator. Reason: java.lang.NoClassDefFoundError: org/aspectj/util/PartialOrder$PartialComparable.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer$JwtConfigurer. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/jwt/JwtDecoder.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator. Reason: java.lang.NoClassDefFoundError: org/aspectj/util/PartialOrder$PartialComparable.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/json/bind/Jsonb.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.JCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: javax/cache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.RedisCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/redis/serializer/RedisSerializer.
[INFO]     [creator]     Warning: class initialization of class io.netty.util.internal.logging.Log4JLogger failed with exception java.lang.NoClassDefFoundError: org/apache/log4j/Priority. This class will be initialized at run time because option --allow-incomplete-classpath is used for image building. Use the option --initialize-at-run-time=io.netty.util.internal.logging.Log4JLogger to explicitly request delayed initialization of this class.
[INFO]     [creator]     22:31:54.381 [ForkJoinPool-2-worker-0] DEBUG io.netty.buffer.AdvancedLeakAwareByteBuf - -Dio.netty.leakDetection.acquireAndReleaseOnly: false
[INFO]     [creator]     Warning: class initialization of class io.netty.handler.ssl.JettyNpnSslEngine failed with exception java.lang.NoClassDefFoundError: org/eclipse/jetty/npn/NextProtoNego$Provider. This class will be initialized at run time because option --allow-incomplete-classpath is used for image building. Use the option --initialize-at-run-time=io.netty.handler.ssl.JettyNpnSslEngine to explicitly request delayed initialization of this class.
[INFO]     [creator]     22:31:58.666 [ForkJoinPool-4-worker-5] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@587d70ed
[INFO]     [creator]     Warning: class initialization of class io.netty.handler.ssl.ConscryptAlpnSslEngine failed with exception java.lang.NoClassDefFoundError: org/conscrypt/BufferAllocator. This class will be initialized at run time because option --allow-incomplete-classpath is used for image building. Use the option --initialize-at-run-time=io.netty.handler.ssl.ConscryptAlpnSslEngine to explicitly request delayed initialization of this class.
[INFO]     [creator]     Warning: class initialization of class io.netty.handler.ssl.ReferenceCountedOpenSslEngine failed with exception java.lang.NoClassDefFoundError: io/netty/internal/tcnative/SSL. This class will be initialized at run time because option --allow-incomplete-classpath is used for image building. Use the option --initialize-at-run-time=io.netty.handler.ssl.ReferenceCountedOpenSslEngine to explicitly request delayed initialization of this class.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.web.multipart.commons.CommonsMultipartResolver. Reason: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/server/resource/web/BearerTokenResolver.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/redis/connection/RedisConnectionFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.configuration.OAuth2ClientConfiguration$OAuth2ClientWebMvcSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/client/OAuth2AuthorizedClientManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.HazelcastCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/hazelcast/core/HazelcastInstance.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.security.SecurityDataConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/data/repository/query/SecurityEvaluationContextExtension.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.EhCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/validation/Validator.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.caffeine.CaffeineCacheManager. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CouchbaseCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/couchbase/cache/CouchbaseCacheManager$CouchbaseCacheManagerBuilder.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer$JwtConfigurer. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/jwt/JwtDecoder.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.InfinispanCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/infinispan/manager/EmbeddedCacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CaffeineCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/CaffeineSpec.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.web.reactive.function.client.ClientHttpConnectorConfiguration$JettyClient. Reason: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/ssl/SslContextFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.jcache.JCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Ljavax/cache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration. Reason: java.lang.NoClassDefFoundError: com/google/gson/GsonBuilder.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.rsocket.RSocketMessagingAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/messaging/rsocket/RSocketStrategies.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.ehcache.EhCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Lnet/sf/ehcache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.core.ReactiveAdapterRegistry. Reason: java.lang.NoClassDefFoundError: reactor/blockhound/integration/BlockHoundIntegration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.ReactiveOAuth2ClientImportSelector$OAuth2ClientWebFluxSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/client/ReactiveOAuth2AuthorizedClientManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator. Reason: java.lang.NoClassDefFoundError: org/aspectj/util/PartialOrder$PartialComparable.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator. Reason: java.lang.NoClassDefFoundError: org/aspectj/util/PartialOrder$PartialComparable.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/json/bind/Jsonb.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.JCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: javax/cache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.RedisCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/redis/serializer/RedisSerializer.
[INFO]     [creator]     22:32:05.302 [ForkJoinPool-2-worker-5] DEBUG io.netty.util.internal.NativeLibraryLoader - -Dio.netty.native.workdir: /tmp (io.netty.tmpdir)
[INFO]     [creator]     22:32:05.303 [ForkJoinPool-2-worker-5] DEBUG io.netty.util.internal.NativeLibraryLoader - -Dio.netty.native.deleteLibAfterLoading: true
[INFO]     [creator]     22:32:05.303 [ForkJoinPool-2-worker-5] DEBUG io.netty.util.internal.NativeLibraryLoader - -Dio.netty.native.tryPatchShadedId: true
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.web.multipart.commons.CommonsMultipartResolver. Reason: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/server/resource/web/BearerTokenResolver.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/redis/connection/RedisConnectionFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.configuration.OAuth2ClientConfiguration$OAuth2ClientWebMvcSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/client/OAuth2AuthorizedClientManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.HazelcastCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/hazelcast/core/HazelcastInstance.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.security.SecurityDataConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/data/repository/query/SecurityEvaluationContextExtension.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.EhCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/validation/Validator.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.caffeine.CaffeineCacheManager. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CouchbaseCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/couchbase/cache/CouchbaseCacheManager$CouchbaseCacheManagerBuilder.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer$JwtConfigurer. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/jwt/JwtDecoder.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.InfinispanCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/infinispan/manager/EmbeddedCacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CaffeineCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/CaffeineSpec.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.web.reactive.function.client.ClientHttpConnectorConfiguration$JettyClient. Reason: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/ssl/SslContextFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.jcache.JCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Ljavax/cache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration. Reason: java.lang.NoClassDefFoundError: com/google/gson/GsonBuilder.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.rsocket.RSocketMessagingAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/messaging/rsocket/RSocketStrategies.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.ehcache.EhCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Lnet/sf/ehcache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.core.ReactiveAdapterRegistry. Reason: java.lang.NoClassDefFoundError: reactor/blockhound/integration/BlockHoundIntegration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.ReactiveOAuth2ClientImportSelector$OAuth2ClientWebFluxSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/client/ReactiveOAuth2AuthorizedClientManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator. Reason: java.lang.NoClassDefFoundError: org/aspectj/util/PartialOrder$PartialComparable.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator. Reason: java.lang.NoClassDefFoundError: org/aspectj/util/PartialOrder$PartialComparable.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/json/bind/Jsonb.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.JCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: javax/cache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.RedisCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/redis/serializer/RedisSerializer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.web.multipart.commons.CommonsMultipartResolver. Reason: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/server/resource/web/BearerTokenResolver.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/redis/connection/RedisConnectionFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.configuration.OAuth2ClientConfiguration$OAuth2ClientWebMvcSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/client/OAuth2AuthorizedClientManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.HazelcastCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/hazelcast/core/HazelcastInstance.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.security.SecurityDataConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/data/repository/query/SecurityEvaluationContextExtension.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.EhCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/validation/Validator.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.caffeine.CaffeineCacheManager. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CouchbaseCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/couchbase/cache/CouchbaseCacheManager$CouchbaseCacheManagerBuilder.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer$JwtConfigurer. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/jwt/JwtDecoder.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.InfinispanCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/infinispan/manager/EmbeddedCacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CaffeineCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/CaffeineSpec.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.web.reactive.function.client.ClientHttpConnectorConfiguration$JettyClient. Reason: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/ssl/SslContextFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.jcache.JCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Ljavax/cache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration. Reason: java.lang.NoClassDefFoundError: com/google/gson/GsonBuilder.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.rsocket.RSocketMessagingAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/messaging/rsocket/RSocketStrategies.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.ehcache.EhCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Lnet/sf/ehcache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.core.ReactiveAdapterRegistry. Reason: java.lang.NoClassDefFoundError: reactor/blockhound/integration/BlockHoundIntegration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.ReactiveOAuth2ClientImportSelector$OAuth2ClientWebFluxSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/oauth2/client/ReactiveOAuth2AuthorizedClientManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator. Reason: java.lang.NoClassDefFoundError: org/aspectj/util/PartialOrder$PartialComparable.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator. Reason: java.lang.NoClassDefFoundError: org/aspectj/util/PartialOrder$PartialComparable.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/json/bind/Jsonb.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.JCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: javax/cache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.RedisCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/redis/serializer/RedisSerializer.
[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/de.favendo.commander.sba.MainApplication:178]     (clinit):   3,381.27 ms,  5.22 GB
[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/de.favendo.commander.sba.MainApplication:178]   (typeflow):  47,658.49 ms,  5.22 GB
[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/de.favendo.commander.sba.MainApplication:178]    (objects):  48,564.01 ms,  5.22 GB
[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/de.favendo.commander.sba.MainApplication:178]   (features):   6,574.25 ms,  5.22 GB
[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/de.favendo.commander.sba.MainApplication:178]     analysis: 109,748.53 ms,  5.22 GB
[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/de.favendo.commander.sba.MainApplication:178]     universe:   8,024.81 ms,  5.09 GB
[INFO]     [creator]     Error: Image build request failed with exit status 137
[INFO]     [creator]     unable to invoke layer creator
[INFO]     [creator]     unable to contribute native-image layer
[INFO]     [creator]     error running build
[INFO]     [creator]     exit status 137
[INFO]     [creator]     ERROR: failed to build: exit status 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  04:24 min
[INFO] Finished at: 2021-03-11T23:33:05+01:00
rodrigorodrigues commented 3 years ago

Hi,

I was trying to do the same using Spring Boot Native 2.4.3 and got similar error but error code 145. I guess it's something related to @NativeHint but I didn't quite understand how to use it yet.

[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/com.microservice.authentication.AuthenticationServiceApplication:151]    classlist:  20,158.59 ms,  3.48 GB
[INFO]     [creator]     00:25:44.573 [ForkJoinPool-4-worker-1] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging.Log4j2LoggerProvider
[INFO]     [creator]     00:25:44.575 [ForkJoinPool-4-worker-1] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 6.1.7.Final
[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/com.microservice.authentication.AuthenticationServiceApplication:151]        (cap):   1,144.03 ms,  3.48 GB
[INFO]     [creator]     WARNING: Could not register org.springframework.boot.autoconfigure.mail.MailSenderValidatorAutoConfiguration: allDeclaredConstructors for reflection. Reason: java.lang.NoClassDefFoundError: javax/mail/MessagingException.
[INFO]     [creator]     WARNING: Could not register org.springframework.boot.autoconfigure.mail.MailSenderValidatorAutoConfiguration: allDeclaredMethods for reflection. Reason: java.lang.NoClassDefFoundError: javax/mail/MessagingException.
[INFO]     [creator]     WARNING: Could not register org.springframework.boot.autoconfigure.mail.MailSenderValidatorAutoConfiguration: allDeclaredFields for reflection. Reason: java.lang.NoClassDefFoundError: javax/mail/MessagingException.
[INFO]     [creator]     WARNING: Could not register org.springframework.boot.autoconfigure.session.JdbcSessionDataSourceInitializer: allDeclaredConstructors for reflection. Reason: java.lang.NoClassDefFoundError: org/springframework/jdbc/support/MetaDataAccessException.
[INFO]     [creator]     WARNING: Could not register org.springframework.data.web.config.HateoasAwareSpringDataWebConfiguration: allDeclaredConstructors for reflection. Reason: java.lang.NoClassDefFoundError: org/springframework/hateoas/server/mvc/UriComponentsContributor.
[INFO]     [creator]     WARNING: Could not register org.springframework.data.web.config.HateoasAwareSpringDataWebConfiguration: allDeclaredMethods for reflection. Reason: java.lang.NoClassDefFoundError: org/springframework/hateoas/server/mvc/UriComponentsContributor.
[INFO]     [creator]     WARNING: Could not register org.springframework.data.web.config.HateoasAwareSpringDataWebConfiguration: allDeclaredFields for reflection. Reason: java.lang.NoClassDefFoundError: org/springframework/hateoas/server/mvc/UriComponentsContributor.
[INFO]     [creator]     WARNING: Could not register org.springframework.security.config.annotation.web.reactive.WebFluxSecurityConfiguration: allDeclaredMethods for reflection. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/result/view/RequestDataValueProcessor.
[INFO]     [creator]     WARNING: Could not register springfox.boot.starter.autoconfigure.SwaggerUiWebFluxConfiguration: allDeclaredMethods for reflection. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     WARNING: Could not register org.springframework.data.web.config.HateoasAwareSpringDataWebConfiguration: allDeclaredConstructors for reflection. Reason: java.lang.NoClassDefFoundError: org/springframework/hateoas/server/mvc/UriComponentsContributor.
[INFO]     [creator]     WARNING: Could not register org.springframework.data.web.config.HateoasAwareSpringDataWebConfiguration: allDeclaredMethods for reflection. Reason: java.lang.NoClassDefFoundError: org/springframework/hateoas/server/mvc/UriComponentsContributor.
[INFO]     [creator]     WARNING: Could not register org.springframework.data.web.config.HateoasAwareSpringDataWebConfiguration: allDeclaredFields for reflection. Reason: java.lang.NoClassDefFoundError: org/springframework/hateoas/server/mvc/UriComponentsContributor.
[INFO]     [creator]     WARNING: Could not register org.springframework.boot.autoconfigure.mail.MailSenderValidatorAutoConfiguration: allDeclaredConstructors for reflection. Reason: java.lang.NoClassDefFoundError: javax/mail/MessagingException.
[INFO]     [creator]     WARNING: Could not register org.springframework.boot.autoconfigure.mail.MailSenderValidatorAutoConfiguration: allDeclaredMethods for reflection. Reason: java.lang.NoClassDefFoundError: javax/mail/MessagingException.
[INFO]     [creator]     WARNING: Could not register org.springframework.boot.autoconfigure.mail.MailSenderValidatorAutoConfiguration: allDeclaredFields for reflection. Reason: java.lang.NoClassDefFoundError: javax/mail/MessagingException.
[INFO]     [creator]     WARNING: Could not register springfox.boot.starter.autoconfigure.SwaggerUiWebFluxConfiguration: allDeclaredMethods for reflection. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/com.microservice.authentication.AuthenticationServiceApplication:151]        setup:   5,534.19 ms,  3.91 GB
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.web.PagedResourcesAssemblerArgumentResolver. Reason: java.lang.NoClassDefFoundError: org/springframework/hateoas/server/mvc/UriComponentsContributor.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.mail.javamail.JavaMailSender. Reason: java.lang.NoClassDefFoundError: javax/mail/internet/MimeMessage.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.JCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: javax/cache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.WebFluxSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/result/view/RequestDataValueProcessor.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.InfinispanCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/infinispan/manager/EmbeddedCacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.web.multipart.commons.CommonsMultipartResolver. Reason: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.autoconfigure.RestartEndpointWithIntegrationConfiguration. Reason: java.lang.NoClassDefFoundError: Lorg/springframework/integration/monitor/IntegrationMBeanExporter;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/json/bind/Jsonb.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.JdbcSessionDataSourceInitializer. Reason: java.lang.NoClassDefFoundError: org/springframework/jdbc/support/MetaDataAccessException.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.JdbcSessionConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/session/jdbc/config/annotation/web/http/JdbcHttpSessionConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.HazelcastCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/hazelcast/core/HazelcastInstance.
[INFO]     [creator]     WARNING: Could not register reflection metadata for springfox.documentation.spring.data.rest.configuration.SpringDataRestConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/rest/core/config/RepositoryRestConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.web.config.HateoasAwareSpringDataWebConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/hateoas/server/mvc/UriComponentsContributor.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.ehcache.EhCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Lnet/sf/ehcache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.jcache.JCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Ljavax/cache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.ServerHttpSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.mongodb.core.ReactiveMongoOperations. Reason: java.lang.NoClassDefFoundError: com/mongodb/reactivestreams/client/ClientSession.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.consul.discovery.configclient.ConsulConfigServerBootstrapper. Reason: java.lang.NoClassDefFoundError: org/springframework/cloud/config/client/ConfigServerInstanceProvider$Function.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/function/client/ExchangeFilterFunction.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.mail.javamail.JavaMailSenderImpl. Reason: java.lang.NoClassDefFoundError: javax/mail/internet/MimeMessage.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.MongoSessionConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/session/data/mongo/config/annotation/web/http/MongoHttpSessionConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.mail.MailSenderValidatorAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/mail/MessagingException.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.mongodb.core.ReactiveMongoTemplate. Reason: java.lang.NoClassDefFoundError: com/mongodb/reactivestreams/client/MongoCollection.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.client.loadbalancer.reactive.ReactorLoadBalancerClientAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/function/client/ExchangeFilterFunction.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CaffeineCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/CaffeineSpec.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.neo4j.Neo4jDataAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/neo4j/core/convert/Neo4jConversions.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.ReactiveOAuth2ClientImportSelector. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.rsocket.RSocketMessagingAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/messaging/rsocket/RSocketStrategies.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.EhCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.redis.JedisConnectionConfiguration. Reason: java.lang.NoClassDefFoundError: org/apache/commons/pool2/impl/GenericObjectPoolConfig.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.security.SecurityDataConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/data/repository/query/SecurityEvaluationContextExtension.
[INFO]     [creator]     WARNING: Could not register reflection metadata for springfox.boot.starter.autoconfigure.SwaggerUiWebFluxConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.mongo.MongoReactiveDataAutoConfiguration. Reason: java.lang.NoClassDefFoundError: com/mongodb/reactivestreams/client/MongoClient.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CouchbaseCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/couchbase/CouchbaseClientFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.HazelcastSessionConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/session/hazelcast/config/annotation/web/http/HazelcastHttpSessionConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.rest.RepositoryRestMvcAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/rest/webmvc/config/RepositoryRestConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.caffeine.CaffeineCacheManager. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache.

[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.web.PagedResourcesAssemblerArgumentResolver. Reason: java.lang.NoClassDefFoundError: org/springframework/hateoas/server/mvc/UriComponentsContributor.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.mail.javamail.JavaMailSender. Reason: java.lang.NoClassDefFoundError: javax/mail/internet/MimeMessage.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.JCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: javax/cache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.WebFluxSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/result/view/RequestDataValueProcessor.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.InfinispanCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/infinispan/manager/EmbeddedCacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.web.multipart.commons.CommonsMultipartResolver. Reason: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.autoconfigure.RestartEndpointWithIntegrationConfiguration. Reason: java.lang.NoClassDefFoundError: Lorg/springframework/integration/monitor/IntegrationMBeanExporter;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/json/bind/Jsonb.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.JdbcSessionDataSourceInitializer. Reason: java.lang.NoClassDefFoundError: org/springframework/jdbc/support/MetaDataAccessException.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.JdbcSessionConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/session/jdbc/config/annotation/web/http/JdbcHttpSessionConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.HazelcastCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/hazelcast/core/HazelcastInstance.
[INFO]     [creator]     WARNING: Could not register reflection metadata for springfox.documentation.spring.data.rest.configuration.SpringDataRestConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/rest/core/config/RepositoryRestConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.web.config.HateoasAwareSpringDataWebConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/hateoas/server/mvc/UriComponentsContributor.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.ehcache.EhCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Lnet/sf/ehcache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.jcache.JCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Ljavax/cache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.ServerHttpSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.mongodb.core.ReactiveMongoOperations. Reason: java.lang.NoClassDefFoundError: com/mongodb/reactivestreams/client/ClientSession.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.consul.discovery.configclient.ConsulConfigServerBootstrapper. Reason: java.lang.NoClassDefFoundError: org/springframework/cloud/config/client/ConfigServerInstanceProvider$Function.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/function/client/ExchangeFilterFunction.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.mail.javamail.JavaMailSenderImpl. Reason: java.lang.NoClassDefFoundError: javax/mail/internet/MimeMessage.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.MongoSessionConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/session/data/mongo/config/annotation/web/http/MongoHttpSessionConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.mail.MailSenderValidatorAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/mail/MessagingException.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.mongodb.core.ReactiveMongoTemplate. Reason: java.lang.NoClassDefFoundError: com/mongodb/reactivestreams/client/MongoCollection.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.client.loadbalancer.reactive.ReactorLoadBalancerClientAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/function/client/ExchangeFilterFunction.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CaffeineCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/CaffeineSpec.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.neo4j.Neo4jDataAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/neo4j/core/convert/Neo4jConversions.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.ReactiveOAuth2ClientImportSelector. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.rsocket.RSocketMessagingAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/messaging/rsocket/RSocketStrategies.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.EhCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.redis.JedisConnectionConfiguration. Reason: java.lang.NoClassDefFoundError: org/apache/commons/pool2/impl/GenericObjectPoolConfig.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.security.SecurityDataConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/data/repository/query/SecurityEvaluationContextExtension.
[INFO]     [creator]     WARNING: Could not register reflection metadata for springfox.boot.starter.autoconfigure.SwaggerUiWebFluxConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.mongo.MongoReactiveDataAutoConfiguration. Reason: java.lang.NoClassDefFoundError: com/mongodb/reactivestreams/client/MongoClient.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CouchbaseCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/couchbase/CouchbaseClientFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.HazelcastSessionConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/session/hazelcast/config/annotation/web/http/HazelcastHttpSessionConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.rest.RepositoryRestMvcAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/rest/webmvc/config/RepositoryRestConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.caffeine.CaffeineCacheManager. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.web.PagedResourcesAssemblerArgumentResolver. Reason: java.lang.NoClassDefFoundError: org/springframework/hateoas/server/mvc/UriComponentsContributor.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.mail.javamail.JavaMailSender. Reason: java.lang.NoClassDefFoundError: javax/mail/internet/MimeMessage.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.JCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: javax/cache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.WebFluxSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/result/view/RequestDataValueProcessor.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.InfinispanCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/infinispan/manager/EmbeddedCacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.web.multipart.commons.CommonsMultipartResolver. Reason: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.autoconfigure.RestartEndpointWithIntegrationConfiguration. Reason: java.lang.NoClassDefFoundError: Lorg/springframework/integration/monitor/IntegrationMBeanExporter;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/json/bind/Jsonb.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.JdbcSessionDataSourceInitializer. Reason: java.lang.NoClassDefFoundError: org/springframework/jdbc/support/MetaDataAccessException.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.JdbcSessionConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/session/jdbc/config/annotation/web/http/JdbcHttpSessionConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.HazelcastCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/hazelcast/core/HazelcastInstance.
[INFO]     [creator]     WARNING: Could not register reflection metadata for springfox.documentation.spring.data.rest.configuration.SpringDataRestConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/rest/core/config/RepositoryRestConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.web.config.HateoasAwareSpringDataWebConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/hateoas/server/mvc/UriComponentsContributor.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.ehcache.EhCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Lnet/sf/ehcache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.jcache.JCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Ljavax/cache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.ServerHttpSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.mongodb.core.ReactiveMongoOperations. Reason: java.lang.NoClassDefFoundError: com/mongodb/reactivestreams/client/ClientSession.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.consul.discovery.configclient.ConsulConfigServerBootstrapper. Reason: java.lang.NoClassDefFoundError: org/springframework/cloud/config/client/ConfigServerInstanceProvider$Function.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/function/client/ExchangeFilterFunction.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.mail.javamail.JavaMailSenderImpl. Reason: java.lang.NoClassDefFoundError: javax/mail/internet/MimeMessage.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.MongoSessionConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/session/data/mongo/config/annotation/web/http/MongoHttpSessionConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.mail.MailSenderValidatorAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/mail/MessagingException.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.mongodb.core.ReactiveMongoTemplate. Reason: java.lang.NoClassDefFoundError: com/mongodb/reactivestreams/client/MongoCollection.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.client.loadbalancer.reactive.ReactorLoadBalancerClientAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/function/client/ExchangeFilterFunction.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CaffeineCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/CaffeineSpec.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.neo4j.Neo4jDataAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/neo4j/core/convert/Neo4jConversions.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.ReactiveOAuth2ClientImportSelector. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.rsocket.RSocketMessagingAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/messaging/rsocket/RSocketStrategies.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.EhCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.redis.JedisConnectionConfiguration. Reason: java.lang.NoClassDefFoundError: org/apache/commons/pool2/impl/GenericObjectPoolConfig.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.security.SecurityDataConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/data/repository/query/SecurityEvaluationContextExtension.
[INFO]     [creator]     WARNING: Could not register reflection metadata for springfox.boot.starter.autoconfigure.SwaggerUiWebFluxConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.mongo.MongoReactiveDataAutoConfiguration. Reason: java.lang.NoClassDefFoundError: com/mongodb/reactivestreams/client/MongoClient.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CouchbaseCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/couchbase/CouchbaseClientFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.HazelcastSessionConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/session/hazelcast/config/annotation/web/http/HazelcastHttpSessionConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.rest.RepositoryRestMvcAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/rest/webmvc/config/RepositoryRestConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.caffeine.CaffeineCacheManager. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.web.PagedResourcesAssemblerArgumentResolver. Reason: java.lang.NoClassDefFoundError: org/springframework/hateoas/server/mvc/UriComponentsContributor.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.mail.javamail.JavaMailSender. Reason: java.lang.NoClassDefFoundError: javax/mail/internet/MimeMessage.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.JCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: javax/cache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.WebFluxSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/result/view/RequestDataValueProcessor.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.InfinispanCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/infinispan/manager/EmbeddedCacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.web.multipart.commons.CommonsMultipartResolver. Reason: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.autoconfigure.RestartEndpointWithIntegrationConfiguration. Reason: java.lang.NoClassDefFoundError: Lorg/springframework/integration/monitor/IntegrationMBeanExporter;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/json/bind/Jsonb.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.JdbcSessionDataSourceInitializer. Reason: java.lang.NoClassDefFoundError: org/springframework/jdbc/support/MetaDataAccessException.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.JdbcSessionConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/session/jdbc/config/annotation/web/http/JdbcHttpSessionConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.HazelcastCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/hazelcast/core/HazelcastInstance.
[INFO]     [creator]     WARNING: Could not register reflection metadata for springfox.documentation.spring.data.rest.configuration.SpringDataRestConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/rest/core/config/RepositoryRestConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.web.config.HateoasAwareSpringDataWebConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/hateoas/server/mvc/UriComponentsContributor.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.ehcache.EhCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Lnet/sf/ehcache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.jcache.JCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Ljavax/cache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.ServerHttpSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.mongodb.core.ReactiveMongoOperations. Reason: java.lang.NoClassDefFoundError: com/mongodb/reactivestreams/client/ClientSession.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.consul.discovery.configclient.ConsulConfigServerBootstrapper. Reason: java.lang.NoClassDefFoundError: org/springframework/cloud/config/client/ConfigServerInstanceProvider$Function.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/function/client/ExchangeFilterFunction.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.mail.javamail.JavaMailSenderImpl. Reason: java.lang.NoClassDefFoundError: javax/mail/internet/MimeMessage.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.MongoSessionConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/session/data/mongo/config/annotation/web/http/MongoHttpSessionConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.mail.MailSenderValidatorAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/mail/MessagingException.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.mongodb.core.ReactiveMongoTemplate. Reason: java.lang.NoClassDefFoundError: com/mongodb/reactivestreams/client/MongoCollection.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.client.loadbalancer.reactive.ReactorLoadBalancerClientAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/function/client/ExchangeFilterFunction.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CaffeineCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/CaffeineSpec.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.neo4j.Neo4jDataAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/neo4j/core/convert/Neo4jConversions.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.ReactiveOAuth2ClientImportSelector. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.rsocket.RSocketMessagingAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/messaging/rsocket/RSocketStrategies.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.EhCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.redis.JedisConnectionConfiguration. Reason: java.lang.NoClassDefFoundError: org/apache/commons/pool2/impl/GenericObjectPoolConfig.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.security.SecurityDataConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/data/repository/query/SecurityEvaluationContextExtension.
[INFO]     [creator]     WARNING: Could not register reflection metadata for springfox.boot.starter.autoconfigure.SwaggerUiWebFluxConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.mongo.MongoReactiveDataAutoConfiguration. Reason: java.lang.NoClassDefFoundError: com/mongodb/reactivestreams/client/MongoClient.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CouchbaseCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/couchbase/CouchbaseClientFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.HazelcastSessionConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/session/hazelcast/config/annotation/web/http/HazelcastHttpSessionConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.rest.RepositoryRestMvcAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/rest/webmvc/config/RepositoryRestConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.caffeine.CaffeineCacheManager. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.web.PagedResourcesAssemblerArgumentResolver. Reason: java.lang.NoClassDefFoundError: org/springframework/hateoas/server/mvc/UriComponentsContributor.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.mail.javamail.JavaMailSender. Reason: java.lang.NoClassDefFoundError: javax/mail/internet/MimeMessage.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.JCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: javax/cache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.WebFluxSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/result/view/RequestDataValueProcessor.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.InfinispanCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/infinispan/manager/EmbeddedCacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.web.multipart.commons.CommonsMultipartResolver. Reason: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.autoconfigure.RestartEndpointWithIntegrationConfiguration. Reason: java.lang.NoClassDefFoundError: Lorg/springframework/integration/monitor/IntegrationMBeanExporter;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/json/bind/Jsonb.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.JdbcSessionDataSourceInitializer. Reason: java.lang.NoClassDefFoundError: org/springframework/jdbc/support/MetaDataAccessException.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.JdbcSessionConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/session/jdbc/config/annotation/web/http/JdbcHttpSessionConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.HazelcastCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/hazelcast/core/HazelcastInstance.
[INFO]     [creator]     WARNING: Could not register reflection metadata for springfox.documentation.spring.data.rest.configuration.SpringDataRestConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/rest/core/config/RepositoryRestConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.web.config.HateoasAwareSpringDataWebConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/hateoas/server/mvc/UriComponentsContributor.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.ehcache.EhCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Lnet/sf/ehcache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.jcache.JCacheCacheManager. Reason: java.lang.NoClassDefFoundError: Ljavax/cache/CacheManager;.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.ServerHttpSecurityConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.mongodb.core.ReactiveMongoOperations. Reason: java.lang.NoClassDefFoundError: com/mongodb/reactivestreams/client/ClientSession.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.consul.discovery.configclient.ConsulConfigServerBootstrapper. Reason: java.lang.NoClassDefFoundError: org/springframework/cloud/config/client/ConfigServerInstanceProvider$Function.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/function/client/ExchangeFilterFunction.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.mail.javamail.JavaMailSenderImpl. Reason: java.lang.NoClassDefFoundError: javax/mail/internet/MimeMessage.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.MongoSessionConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/session/data/mongo/config/annotation/web/http/MongoHttpSessionConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.mail.MailSenderValidatorAutoConfiguration. Reason: java.lang.NoClassDefFoundError: javax/mail/MessagingException.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.data.mongodb.core.ReactiveMongoTemplate. Reason: java.lang.NoClassDefFoundError: com/mongodb/reactivestreams/client/MongoCollection.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cloud.client.loadbalancer.reactive.ReactorLoadBalancerClientAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/function/client/ExchangeFilterFunction.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CaffeineCacheConfiguration. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/CaffeineSpec.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.neo4j.Neo4jDataAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/neo4j/core/convert/Neo4jConversions.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.security.config.annotation.web.reactive.ReactiveOAuth2ClientImportSelector. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.rsocket.RSocketMessagingAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/messaging/rsocket/RSocketStrategies.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.EhCacheCacheConfiguration. Reason: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheManager.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.redis.JedisConnectionConfiguration. Reason: java.lang.NoClassDefFoundError: org/apache/commons/pool2/impl/GenericObjectPoolConfig.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.security.SecurityDataConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/security/data/repository/query/SecurityEvaluationContextExtension.
[INFO]     [creator]     WARNING: Could not register reflection metadata for springfox.boot.starter.autoconfigure.SwaggerUiWebFluxConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/web/reactive/config/WebFluxConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.mongo.MongoReactiveDataAutoConfiguration. Reason: java.lang.NoClassDefFoundError: com/mongodb/reactivestreams/client/MongoClient.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.cache.CouchbaseCacheConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/couchbase/CouchbaseClientFactory.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.session.HazelcastSessionConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/session/hazelcast/config/annotation/web/http/HazelcastHttpSessionConfiguration.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.boot.autoconfigure.data.rest.RepositoryRestMvcAutoConfiguration. Reason: java.lang.NoClassDefFoundError: org/springframework/data/rest/webmvc/config/RepositoryRestConfigurer.
[INFO]     [creator]     WARNING: Could not register reflection metadata for org.springframework.cache.caffeine.CaffeineCacheManager. Reason: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache.

[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/com.microservice.authentication.AuthenticationServiceApplication:151]     (clinit):   3,922.69 ms,  7.52 GB
[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/com.microservice.authentication.AuthenticationServiceApplication:151]   (typeflow): 207,356.53 ms,  7.52 GB
[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/com.microservice.authentication.AuthenticationServiceApplication:151]    (objects): 138,742.50 ms,  7.52 GB
[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/com.microservice.authentication.AuthenticationServiceApplication:151]   (features):  24,088.24 ms,  7.52 GB
[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/com.microservice.authentication.AuthenticationServiceApplication:151]     analysis: 380,636.18 ms,  7.52 GB
[INFO]     [creator]     [/layers/paketo-buildpacks_native-image/native-image/com.microservice.authentication.AuthenticationServiceApplication:151]     universe:  10,306.34 ms,  7.61 GB
[INFO]     [creator]     Error: Image build request failed with exit status 137
[INFO]     [creator]     unable to invoke layer creator
[INFO]     [creator]     unable to contribute native-image layer
[INFO]     [creator]     error running build
[INFO]     [creator]     exit status 137
[INFO]     [creator]     ERROR: failed to build: exit status 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  11:42 min
[INFO] Finished at: 2021-03-12T00:32:55Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.4.3:build-image (default-cli) on project authentication-service: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:2.4.3:build-image failed: Builder lifecycle 'creator' failed with status code 145
zachariahyoung commented 3 years ago

I'm getting the same status code of 145

aclement commented 3 years ago

137 indicates a shortage of memory. I'm not sure what OS you are using, but docker on Mac, you need to specify extra memory specifically in the docker UI (mine is currently 16Gb) so that it has enough to run ( https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/#_system_requirements ). A native-image build is very memory intensive. @AzarguNazari what OS are you on when running the build? @rodrigorodrigues although we see 145 error code at the end, I do see the image logging mentioning 137 too - are you giving the build enough memory to run? It could be worth building some of the sample projects perhaps (like webmvc-tomcat) just to check native-image has room to do its thing on your system.

That said, I also see some dependencies in the pom in the first comment that we don't cover yet - the supported list is here right now: https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/#support-spring-boot - I see mail starter and spring boot admin in that pom.xml above. Now it is not to say that they won't/can't work but we may not be computing all the configuration automatically for them yet. In these cases when things don't work it can be worth running the app with the agent to try and collect missing config, as per: https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/#tracing-agent - basically run the app on the JVM as normal with the agent attached, it will notice what you are doing and store it in config files. Those are then used by native-image to include extra things in the final executable.

sdeleuze commented 3 years ago

Let's turn this into a documentation improvement to mention error 137 in the troubleshooting section.

zachariahyoung commented 3 years ago

@sdeleuze how do we handle the 145 error?

aclement commented 3 years ago

Re:145 The final error code in these messages, like (from above):

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.4.3:build-image (default-cli) on 
project authentication-service: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:2.4.3:
build-image failed: Builder lifecycle 'creator' failed with status code 145

is the final response from docker back to Spring, I think 145 is more of a 'something went wrong, check what it was'. And in the cases above we see that a 137 in the build process (out of memory) was the actual error to address. So I would say, if you get 145, take a closer look further up the logs to see what actually happened.

See that final log which is an example of this:

[INFO]     [creator]     exit status 137
[INFO]     [creator]     ERROR: failed to build: exit status 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  11:42 min
[INFO] Finished at: 2021-03-12T00:32:55Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.4.3:build-image (default-cli)
   on project authentication-service: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:2.4.3:
   build-image failed: Builder lifecycle 'creator' failed with status code 145

It may not always be 137, but the thing we would need to dig into was what the real error was inside the buildpack process, because 145 isn't giving us much to go on.

AzarguNazari commented 3 years ago

@aclement I am using Linux Manjaro, as I as see, the support for spring boot admin (server and client) is provided yet. So, I hope we could have the spring boot admin support for native image.

zachariahyoung commented 3 years ago

This is my error log with 145. Something about x509: certificate signed by unknown authority

[INFO] Scanning for projects...
[INFO]
[INFO] --------------------------< com.xyz:demo >---------------------------
[INFO] Building demo 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:2.4.3:build-image (default-cli) > package @ demo >>>
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ demo ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory C:\IdeaProjects\native\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ demo ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- spring-aot-maven-plugin:0.9.0:test-generate (test-generate) @ demo ---
[INFO] Spring Native operating mode: native
[WARNING] Failed verification check: this type was requested to be added to configuration but is not resolvable: org.springframework.data.jpa.repository.support.EntityManagerBeanDefinitionRegistrarPostProcessor it will be skipped
[WARNING] Failed verification check: this type was requested to be added to configuration but is not resolvable: org.springframework.transaction.annotation.Transactional it will be skipped
[WARNING] Failed verification check: this type was requested to be added to configuration but is not resolvable: javax.transaction.Transactional it will be skipped
[WARNING] Failed verification check: this type was requested to be added to configuration but is not resolvable: org.springframework.transaction.annotation.Propagation it will be skipped
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 31 source files to C:\IdeaProjects\native\target\test-classes
[INFO] /C:/IdeaProjects/native/target/generated-test-sources/spring-aot/src/test/java/org/springframework/aot/StaticSpringFactories.java: C:\IdeaProjects\native\target\generated-test-sources\spring-aot\src\test\java\org\springframew
ork\aot\StaticSpringFactories.java uses or overrides a deprecated API.
[INFO] /C:/IdeaProjects/native/target/generated-test-sources/spring-aot/src/test/java/org/springframework/aot/StaticSpringFactories.java: Recompile with -Xlint:deprecation for details.
[INFO] /C:/IdeaProjects/native/target/generated-test-sources/spring-aot/src/test/java/org/springframework/aot/StaticSpringFactories.java: Some input files use unchecked or unsafe operations.
[INFO] /C:/IdeaProjects/native/target/generated-test-sources/spring-aot/src/test/java/org/springframework/aot/StaticSpringFactories.java: Recompile with -Xlint:unchecked for details.
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ demo ---
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.xyz.DemoApplicationTests
15:10:22.152 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
15:10:22.184 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframewor
k.test.context.CacheAwareContextLoaderDelegate)]
15:10:22.277 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [com.xyz.DemoApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestConte
xtBootstrapper]
15:10:22.308 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.xyz.DemoApplicationTests], using SpringBootContextLo
ader
15:10:22.308 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.xyz.DemoApplicationTests]: class path resource [com/xyz/DemoApplicationTes
ts-context.xml] does not exist
15:10:22.324 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.xyz.DemoApplicationTests]: class path resource [com/xyz/DemoApplicationTes
tsContext.groovy] does not exist
15:10:22.324 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.xyz.DemoApplicationTests]: no resource found for suffixes {-context.xml, Co
ntext.groovy}.
15:10:22.324 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.xyz.DemoApplicationTests]: DemoApplicationTests does not de
clare any static, non-private, non-final, nested classes annotated with @Configuration.
15:10:22.547 [main] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [com.xyz.Demo
ApplicationTests]
15:10:22.596 [main] DEBUG org.springframework.context.index.CandidateComponentsIndexLoader - Loaded 2] index(es)
15:10:22.714 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [C:\IdeaProjects\native\target\classes\com\xyz\DemoApplication.class]
15:10:22.718 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration com.xyz.DemoApplication for test class com.xyz.DemoApplicationTests
15:10:23.174 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [com.xyz.DemoApplicationTests]: using defaults.
15:10:23.228 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mocki
to.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfi
gure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriv
erTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springfr
amework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.
springframework.test.context.event.EventPublishingTestExecutionListener]
15:10:23.239 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@75e91545, org.
springframework.test.context.event.ApplicationEventsTestExecutionListener@60d1a32f, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@531c311e, org.springframework.boot.test.autoconfigure.SpringBootDependencyIn
jectionTestExecutionListener@22b53226, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1fcb4808, org.springframework.test.context.event.EventPublishingTestExecutionListener@726e5805, org.springframework.
boot.test.mock.mockito.ResetMocksTestExecutionListener@40c80397, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@4b672daa, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServ
erResetTestExecutionListener@ea9b7c6, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@e077866, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionList
ener@ed3068a, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@7c2b6087]
15:10:23.283 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@41813449 testClass = DemoApplicationTests, testInstance = [null], testMe
thod = [null], testException = [null], mergedContextConfiguration = [ReactiveWebMergedContextConfiguration@4678a2eb testClass = DemoApplicationTests, locations = '{}', classes = '{class com.xyz.DemoApplication}', contextInitializ
erClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.
test.context.filter.ExcludeFilterContextCustomizer@48793bef, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7b8b43c7, org.springframework.boot.test.mock.mockito.Mo
ckitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@59e32960, org.springframework.boot.test.web.reactive.server.WebTestClientContextCustomizer@6f19ac19, org.springframework.boot.test.
autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@4ddbbdf8, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.t
est.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@ae3540e, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@35d019a3], contextLoa
der = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map[[empty]]], class annotated with @DirtiesContext [false] with mode [null].
15:10:23.429 [main] DEBUG org.springframework.test.context.support.DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[DefaultTestContext@41813449 testClass = DemoApplicationTests, testInsta
nce = com.xyz.DemoApplicationTests@37bd68c3, testMethod = [null], testException = [null], mergedContextConfiguration = [ReactiveWebMergedContextConfiguration@4678a2eb testClass = DemoApplicationTests, locations = '{}', classes =
'{class com.xyz.DemoApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true
}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@48793bef, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7
b8b43c7, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@59e32960, org.springframework.boot.test.web.reactive.server.WebTestClientCont
extCustomizer@6f19ac19, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@4ddbbdf8, org.springframework.boot.test.autoconfigure.properties.Property
MappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@ae3540e, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.cont
ext.SpringBootTestWebEnvironment@35d019a3], contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.event.ApplicationEventsTestExecutionLi
stener.recordApplicationEvents' -> false]]].
15:10:23.768 [main] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.context.SpringBootTestContextBootstrappe
r=true}
2021-03-15 15:10:24.926  INFO 13788 --- [           main] o.s.nativex.NativeListener               : This application is bootstrapped with code generated with Spring AOT

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v2.4.3)

2021-03-15 15:10:25.276  INFO 13788 --- [           main] com.xyz.DemoApplicationTests          : Starting DemoApplicationTests using Java 11.0.7 on computer with PID 13788 (started by me in C:\IdeaProjects\native)
2021-03-15 15:10:25.279  INFO 13788 --- [           main] com.xyz.DemoApplicationTests          : No active profile set, falling back to default profiles: default
2021-03-15 15:10:29.813  INFO 13788 --- [           main] o.s.c.f.web.flux.FunctionHandlerMapping  : FunctionCatalog: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry@76e3b45b
2021-03-15 15:10:30.381  INFO 13788 --- [           main] com.xyz.DemoApplicationTests          : Started DemoApplicationTests in 6.538 seconds (JVM running for 10.964)
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.146 s - in com.xyz.DemoApplicationTests
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- spring-aot-maven-plugin:0.9.0:generate (generate) @ demo ---
[INFO] Spring Native operating mode: native
[WARNING] Failed verification check: this type was requested to be added to configuration but is not resolvable: org.springframework.data.jpa.repository.support.EntityManagerBeanDefinitionRegistrarPostProcessor it will be skipped
[WARNING] Failed verification check: this type was requested to be added to configuration but is not resolvable: org.springframework.transaction.annotation.Transactional it will be skipped
[WARNING] Failed verification check: this type was requested to be added to configuration but is not resolvable: javax.transaction.Transactional it will be skipped
[WARNING] Failed verification check: this type was requested to be added to configuration but is not resolvable: org.springframework.transaction.annotation.Propagation it will be skipped
[WARNING] Failed verification check: this type was requested to be added to configuration but is not resolvable: org.springframework.data.jpa.repository.support.EntityManagerBeanDefinitionRegistrarPostProcessor it will be skipped
[WARNING] Failed verification check: this type was requested to be added to configuration but is not resolvable: org.springframework.transaction.annotation.Transactional it will be skipped
[WARNING] Failed verification check: this type was requested to be added to configuration but is not resolvable: javax.transaction.Transactional it will be skipped
[WARNING] Failed verification check: this type was requested to be added to configuration but is not resolvable: org.springframework.transaction.annotation.Propagation it will be skipped
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 16 source files to C:\IdeaProjects\native\target\classes
[INFO] /C:/IdeaProjects/native/target/generated-sources/spring-aot/src/main/java/org/springframework/aot/StaticSpringFactories.java: C:\IdeaProjects\native\target\generated-sources\spring-aot\src\main\java\org\springframework\aot\St
aticSpringFactories.java uses or overrides a deprecated API.
[INFO] /C:/IdeaProjects/native/target/generated-sources/spring-aot/src/main/java/org/springframework/aot/StaticSpringFactories.java: Recompile with -Xlint:deprecation for details.
[INFO] /C:/IdeaProjects/native/target/generated-sources/spring-aot/src/main/java/org/springframework/aot/StaticSpringFactories.java: Some input files use unchecked or unsafe operations.
[INFO] /C:/IdeaProjects/native/target/generated-sources/spring-aot/src/main/java/org/springframework/aot/StaticSpringFactories.java: Recompile with -Xlint:unchecked for details.
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ demo ---
[INFO] Building jar: C:\IdeaProjects\native\target\demo-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:2.4.3:repackage (repackage) @ demo ---
[INFO] Replacing main artifact with repackaged archive
[INFO]
[INFO] <<< spring-boot-maven-plugin:2.4.3:build-image (default-cli) < package @ demo <<<
[INFO]
[INFO]
[INFO] --- spring-boot-maven-plugin:2.4.3:build-image (default-cli) @ demo ---
[INFO] Building image 'docker.io/library/demo:0.0.1-SNAPSHOT'
[INFO]
[INFO]  > Pulling builder image 'docker.io/paketobuildpacks/builder:tiny' 100%
[INFO]  > Pulled builder image 'paketobuildpacks/builder@sha256:870c2769a65f29c62a0ffe397ae14cc1d61c2e90ebe85f068e8e2fff775c0344'
[INFO]  > Pulling run image 'docker.io/paketobuildpacks/run:tiny-cnb' 100%
[INFO]  > Pulled run image 'paketobuildpacks/run@sha256:30e7b4b0e1de31e763c7b631161a508c0ef710ea44924f65177afad2644312b9'
[INFO]  > Executing lifecycle version v0.10.2
[INFO]  > Using build cache volume 'pack-cache-5cbe5692dbc4.build'
[INFO]
[INFO]  > Running creator
[INFO]     [creator]     ===> DETECTING
[INFO]     [creator]     4 of 11 buildpacks participating
[INFO]     [creator]     paketo-buildpacks/graalvm        6.0.0
[INFO]     [creator]     paketo-buildpacks/executable-jar 5.0.0
[INFO]     [creator]     paketo-buildpacks/spring-boot    4.1.0
[INFO]     [creator]     paketo-buildpacks/native-image   4.0.0
[INFO]     [creator]     ===> ANALYZING
[INFO]     [creator]     Previous image with name "docker.io/library/demo:0.0.1-SNAPSHOT" not found
[INFO]     [creator]     ===> RESTORING
[INFO]     [creator]     ===> BUILDING
[INFO]     [creator]
[INFO]     [creator]     Paketo GraalVM Buildpack 6.0.0
[INFO]     [creator]       https://github.com/paketo-buildpacks/graalvm
[INFO]     [creator]       Build Configuration:
[INFO]     [creator]         $BP_JVM_VERSION              11.*            the Java version
[INFO]     [creator]       Launch Configuration:
[INFO]     [creator]         $BPL_JVM_HEAD_ROOM           0               the headroom in memory calculation
[INFO]     [creator]         $BPL_JVM_LOADED_CLASS_COUNT  35% of classes  the number of loaded classes in memory calculation
[INFO]     [creator]         $BPL_JVM_THREAD_COUNT        250             the number of threads in memory calculation
[INFO]     [creator]         $JAVA_TOOL_OPTIONS                           the JVM launch flags
[INFO]     [creator]       GraalVM JDK 11.0.10: Contributing to layer
[INFO]     [creator]         Downloading from https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.0.0.2/graalvm-ce-java11-linux-amd64-21.0.0.2.tar.gz
[INFO]     [creator]     unable to invoke layer creator
[INFO]     [creator]     unable to get dependency jdk
[INFO]     [creator]     unable to download https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.0.0.2/graalvm-ce-java11-linux-amd64-21.0.0.2.tar.gz
[INFO]     [creator]     unable to request https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.0.0.2/graalvm-ce-java11-linux-amd64-21.0.0.2.tar.gz
[INFO]     [creator]     Get "https://github-releases.githubusercontent.com/222889977/28221980-6c7c-11eb-932f-a76a6e7a9cbb?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210315%2Fus-east-1%2Fs3%2Faws4_req
uest&X-Amz-Date=20210315T201052Z&X-Amz-Expires=300&X-Amz-Signature=dc4e92d09737bea565674b8d8a0307f64e53b090fe875affb15cb5cc51e77c19&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=222889977&response-content-disposition=attachme
nt%3B%20filename%3Dgraalvm-ce-java11-linux-amd64-21.0.0.2.tar.gz&response-content-type=application%2Foctet-stream": x509: certificate signed by unknown authority
[INFO]     [creator]     ERROR: failed to build: exit status 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  51.895 s
[INFO] Finished at: 2021-03-15T15:10:53-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.4.3:build-image (default-cli) on project demo: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:2.4.3:build-image fail
ed: Builder lifecycle 'creator' failed with status code 145 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
sdeleuze commented 3 years ago

I have focused this issue on 137 error code. You can create a dedicated one about 145 if you think that's relevant, but it seems a pretty general error code so not sure what we can do about it.