Closed AzarguNazari closed 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
I'm getting the same status code of 145
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.
Let's turn this into a documentation improvement to mention error 137 in the troubleshooting section.
@sdeleuze how do we handle the 145 error?
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.
@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.
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
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.
As I was trying to build the native image out of the following
pom.xml
file.with the command
./mvnw clean spring-boot:build-image
I get the following error