springboot jdk11 spring-boot-starter-webflux 启动报错

发布于 2022-01-01 18:47:06 字数 44306 浏览 902 评论 8

2019-11-22 15:14:28.112 DEBUG 11988 --- [           main] .c.l.ClasspathLoggingApplicationListener : Application started with classpath: unknown

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

2019-11-22 15:14:28.272  INFO 11988 --- [           main] com.weir.r2dbc.R2dbcDemoApplication      : Starting R2dbcDemoApplication on DEEP-2019KDGHCG with PID 11988 (E:weir-project2r2dbc-demotargetclasses started by Administrator in E:weir-project2r2dbc-demo)
2019-11-22 15:14:28.273 DEBUG 11988 --- [           main] com.weir.r2dbc.R2dbcDemoApplication      : Running with Spring Boot v2.2.1.RELEASE, Spring v5.2.1.RELEASE
2019-11-22 15:14:28.274  INFO 11988 --- [           main] com.weir.r2dbc.R2dbcDemoApplication      : No active profile set, falling back to default profiles: default
2019-11-22 15:14:28.275 DEBUG 11988 --- [           main] o.s.boot.SpringApplication               : Loading source class com.weir.r2dbc.R2dbcDemoApplication
2019-11-22 15:14:28.351 DEBUG 11988 --- [           main] o.s.b.c.c.ConfigFileApplicationListener  : Loaded config file 'file:/E:/weir-project2/r2dbc-demo/target/classes/application.properties' (classpath:/application.properties)
2019-11-22 15:14:28.352 DEBUG 11988 --- [           main] onfigReactiveWebServerApplicationContext : Refreshing org.springframework.boot.web.reactive.context.AnnotationConfigReactiveWebServerApplicationContext@65b104b9
2019-11-22 15:14:28.377 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
2019-11-22 15:14:28.399 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory'
2019-11-22 15:14:28.509 DEBUG 11988 --- [           main] o.s.c.a.ClassPathBeanDefinitionScanner   : Identified candidate component class: file [E:weir-project2r2dbc-demotargetclassescomweirr2dbcOrdersController.class]
2019-11-22 15:14:28.815 DEBUG 11988 --- [           main] o.s.c.e.PropertySourcesPropertyResolver  : Found key 'spring.r2dbc.url' in PropertySource 'configurationProperties' with value of type String
2019-11-22 15:14:28.820 DEBUG 11988 --- [           main] o.s.c.e.PropertySourcesPropertyResolver  : Found key 'spring.r2dbc.url' in PropertySource 'configurationProperties' with value of type String
2019-11-22 15:14:28.827 DEBUG 11988 --- [           main] o.s.c.e.PropertySourcesPropertyResolver  : Found key 'spring.r2dbc.url' in PropertySource 'configurationProperties' with value of type String
2019-11-22 15:14:29.033 DEBUG 11988 --- [           main] o.s.c.e.PropertySourcesPropertyResolver  : Found key 'spring.r2dbc.url' in PropertySource 'configurationProperties' with value of type String
2019-11-22 15:14:29.037 DEBUG 11988 --- [           main] o.s.c.e.PropertySourcesPropertyResolver  : Found key 'spring.r2dbc.url' in PropertySource 'configurationProperties' with value of type String
2019-11-22 15:14:29.079  INFO 11988 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
2019-11-22 15:14:29.088 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.AutoConfigurationPackages'
2019-11-22 15:14:29.099 DEBUG 11988 --- [           main] o.s.b.a.AutoConfigurationPackages        : @EnableAutoConfiguration was declared on a class in the package 'com.weir.r2dbc'. Automatic @Repository and @Entity scanning is enabled.
2019-11-22 15:14:29.102 DEBUG 11988 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Scanning for repositories in packages com.weir.r2dbc.
2019-11-22 15:14:29.113 DEBUG 11988 --- [           main] o.s.d.r.c.RepositoryComponentProvider    : Identified candidate component class: file [E:weir-project2r2dbc-demotargetclassescomweirr2dbcOrdersRepository.class]
2019-11-22 15:14:29.338  INFO 11988 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 235ms. Found 1 repository interfaces.
2019-11-22 15:14:29.569 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'propertySourcesPlaceholderConfigurer'
2019-11-22 15:14:29.575 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.context.properties.ConfigurationPropertiesBeanDefinitionValidator'
2019-11-22 15:14:29.643 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerProcessor'
2019-11-22 15:14:29.646 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerFactory'
2019-11-22 15:14:29.646 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.transaction.config.internalTransactionalEventListenerFactory'
2019-11-22 15:14:29.652 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
2019-11-22 15:14:29.653 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
2019-11-22 15:14:29.657 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor'
2019-11-22 15:14:29.658 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.context.internalConfigurationPropertiesBinder'
2019-11-22 15:14:29.658 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.context.internalConfigurationPropertiesBinderFactory'
2019-11-22 15:14:29.661 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'methodValidationPostProcessor'
2019-11-22 15:14:29.698 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'methodValidationPostProcessor' via factory method to bean named 'environment'
2019-11-22 15:14:29.715 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'persistenceExceptionTranslationPostProcessor'
2019-11-22 15:14:29.716 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'persistenceExceptionTranslationPostProcessor' via factory method to bean named 'environment'
2019-11-22 15:14:29.722 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'connectionFactoryInitializerPostProcessor'
2019-11-22 15:14:29.725 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'connectionFactoryInitializerPostProcessor' via constructor to bean named 'org.springframework.beans.factory.support.DefaultListableBeanFactory@58fb7731'
2019-11-22 15:14:29.727 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.aop.config.internalAutoProxyCreator'
2019-11-22 15:14:29.756 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'webServerFactoryCustomizerBeanPostProcessor'
2019-11-22 15:14:29.761 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'nettyReactiveWebServerFactory'
2019-11-22 15:14:29.762 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.web.reactive.ReactiveWebServerFactoryConfiguration$EmbeddedNetty'
2019-11-22 15:14:29.765 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
2019-11-22 15:14:29.765 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration'
2019-11-22 15:14:29.781 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'transactionAttributeSource'
2019-11-22 15:14:29.788 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'transactionInterceptor'
2019-11-22 15:14:29.789 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'transactionInterceptor' via factory method to bean named 'transactionAttributeSource'
2019-11-22 15:14:29.827 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'org.springframework.transaction.config.internalTransactionAdvisor' via factory method to bean named 'transactionAttributeSource'
2019-11-22 15:14:29.827 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'org.springframework.transaction.config.internalTransactionAdvisor' via factory method to bean named 'transactionInterceptor'
2019-11-22 15:14:29.836 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'reactorServerResourceFactory'
2019-11-22 15:14:29.845 DEBUG 11988 --- [           main] reactor.util.Loggers$LoggerFactory       : Using Slf4j logging framework
2019-11-22 15:14:29.878 DEBUG 11988 --- [           main] i.n.u.i.logging.InternalLoggerFactory    : Using SLF4J as the default logging framework
2019-11-22 15:14:29.880 DEBUG 11988 --- [           main] i.netty.util.internal.PlatformDependent  : Platform: Windows
2019-11-22 15:14:29.882 DEBUG 11988 --- [           main] i.n.util.internal.PlatformDependent0     : -Dio.netty.noUnsafe: false
2019-11-22 15:14:29.882 DEBUG 11988 --- [           main] i.n.util.internal.PlatformDependent0     : Java version: 11
2019-11-22 15:14:29.884 DEBUG 11988 --- [           main] i.n.util.internal.PlatformDependent0     : sun.misc.Unsafe.theUnsafe: available
2019-11-22 15:14:29.886 DEBUG 11988 --- [           main] i.n.util.internal.PlatformDependent0     : sun.misc.Unsafe.copyMemory: available
2019-11-22 15:14:29.887 DEBUG 11988 --- [           main] i.n.util.internal.PlatformDependent0     : java.nio.Buffer.address: available
2019-11-22 15:14:29.890 DEBUG 11988 --- [           main] i.n.util.internal.PlatformDependent0     : direct buffer constructor: unavailable

java.lang.UnsupportedOperationException: Reflective setAccessible(true) disabled
    at io.netty.util.internal.ReflectionUtil.trySetAccessible(ReflectionUtil.java:31)
    at io.netty.util.internal.PlatformDependent0$4.run(PlatformDependent0.java:225)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:219)
    at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:273)
    at io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:92)
    at io.netty.util.ConstantPool.<init>(ConstantPool.java:32)
    at io.netty.util.AttributeKey$1.<init>(AttributeKey.java:27)
    at io.netty.util.AttributeKey.<clinit>(AttributeKey.java:27)
    at reactor.netty.resources.PooledConnectionProvider.<clinit>(PooledConnectionProvider.java:215)
    at reactor.netty.resources.ConnectionProvider.fixed(ConnectionProvider.java:188)
    at reactor.netty.resources.ConnectionProvider.fixed(ConnectionProvider.java:159)
    at reactor.netty.resources.ConnectionProvider.fixed(ConnectionProvider.java:141)
    at reactor.netty.tcp.TcpResources.create(TcpResources.java:291)
    at reactor.netty.tcp.TcpResources.getOrCreate(TcpResources.java:236)
    at reactor.netty.http.HttpResources.get(HttpResources.java:41)
    at org.springframework.http.client.reactive.ReactorResourceFactory.afterPropertiesSet(ReactorResourceFactory.java:162)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1799)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1287)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:874)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:778)
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:528)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1338)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207)
    at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.getWebServerFactory(ReactiveWebServerApplicationContext.java:111)
    at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.createWebServer(ReactiveWebServerApplicationContext.java:89)
    at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.onRefresh(ReactiveWebServerApplicationContext.java:78)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544)
    at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.refresh(ReactiveWebServerApplicationContext.java:66)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215)
    at com.weir.r2dbc.R2dbcDemoApplication.main(R2dbcDemoApplication.java:20)

2019-11-22 15:14:29.901 DEBUG 11988 --- [           main] i.n.util.internal.PlatformDependent0     : java.nio.Bits.unaligned: available, true
2019-11-22 15:14:29.903 DEBUG 11988 --- [           main] i.n.util.internal.PlatformDependent0     : jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable

java.lang.IllegalAccessException: class io.netty.util.internal.PlatformDependent0$6 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @2c768ada
    at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:361)
    at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:591)
    at java.base/java.lang.reflect.Method.invoke(Method.java:558)
    at io.netty.util.internal.PlatformDependent0$6.run(PlatformDependent0.java:335)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:326)
    at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:273)
    at io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:92)
    at io.netty.util.ConstantPool.<init>(ConstantPool.java:32)
    at io.netty.util.AttributeKey$1.<init>(AttributeKey.java:27)
    at io.netty.util.AttributeKey.<clinit>(AttributeKey.java:27)
    at reactor.netty.resources.PooledConnectionProvider.<clinit>(PooledConnectionProvider.java:215)
    at reactor.netty.resources.ConnectionProvider.fixed(ConnectionProvider.java:188)
    at reactor.netty.resources.ConnectionProvider.fixed(ConnectionProvider.java:159)
    at reactor.netty.resources.ConnectionProvider.fixed(ConnectionProvider.java:141)
    at reactor.netty.tcp.TcpResources.create(TcpResources.java:291)
    at reactor.netty.tcp.TcpResources.getOrCreate(TcpResources.java:236)
    at reactor.netty.http.HttpResources.get(HttpResources.java:41)
    at org.springframework.http.client.reactive.ReactorResourceFactory.afterPropertiesSet(ReactorResourceFactory.java:162)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1799)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1287)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:874)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:778)
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:528)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1338)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207)
    at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.getWebServerFactory(ReactiveWebServerApplicationContext.java:111)
    at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.createWebServer(ReactiveWebServerApplicationContext.java:89)
    at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.onRefresh(ReactiveWebServerApplicationContext.java:78)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544)
    at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.refresh(ReactiveWebServerApplicationContext.java:66)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215)
    at com.weir.r2dbc.R2dbcDemoApplication.main(R2dbcDemoApplication.java:20)

2019-11-22 15:14:29.904 DEBUG 11988 --- [           main] i.n.util.internal.PlatformDependent0     : java.nio.DirectByteBuffer.<init>(long, int): unavailable
2019-11-22 15:14:29.904 DEBUG 11988 --- [           main] i.netty.util.internal.PlatformDependent  : sun.misc.Unsafe: available
2019-11-22 15:14:29.906 DEBUG 11988 --- [           main] i.netty.util.internal.PlatformDependent  : maxDirectMemory: 8547991552 bytes (maybe)
2019-11-22 15:14:29.907 DEBUG 11988 --- [           main] i.netty.util.internal.PlatformDependent  : -Dio.netty.tmpdir: C:UsersADMINI~1AppDataLocalTemp (java.io.tmpdir)
2019-11-22 15:14:29.908 DEBUG 11988 --- [           main] i.netty.util.internal.PlatformDependent  : -Dio.netty.bitMode: 64 (sun.arch.data.model)
2019-11-22 15:14:29.910 DEBUG 11988 --- [           main] i.netty.util.internal.PlatformDependent  : -Dio.netty.maxDirectMemory: -1 bytes
2019-11-22 15:14:29.910 DEBUG 11988 --- [           main] i.netty.util.internal.PlatformDependent  : -Dio.netty.uninitializedArrayAllocationThreshold: -1
2019-11-22 15:14:29.912 DEBUG 11988 --- [           main] io.netty.util.internal.CleanerJava9      : java.nio.ByteBuffer.cleaner(): available
2019-11-22 15:14:29.912 DEBUG 11988 --- [           main] i.netty.util.internal.PlatformDependent  : -Dio.netty.noPreferDirect: false
2019-11-22 15:14:29.919 DEBUG 11988 --- [           main] reactor.netty.tcp.TcpResources           : [http] resources will use the default LoopResources: DefaultLoopResources {prefix=reactor-http, daemon=true, selectCount=8, workerCount=8}
2019-11-22 15:14:29.919 DEBUG 11988 --- [           main] reactor.netty.tcp.TcpResources           : [http] resources will use the default ConnectionProvider: PooledConnectionProvider {name=http, poolFactory=reactor.netty.resources.ConnectionProvider$$Lambda$386/0x0000000800448c40@367b22e5}
2019-11-22 15:14:29.922 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'nettyReactiveWebServerFactory' via factory method to bean named 'reactorServerResourceFactory'
2019-11-22 15:14:29.936 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'reactiveWebServerFactoryCustomizer'
2019-11-22 15:14:29.936 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.web.reactive.ReactiveWebServerFactoryAutoConfiguration'
2019-11-22 15:14:29.938 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'server-org.springframework.boot.autoconfigure.web.ServerProperties'
2019-11-22 15:14:29.969 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'reactiveWebServerFactoryCustomizer' via factory method to bean named 'server-org.springframework.boot.autoconfigure.web.ServerProperties'
2019-11-22 15:14:29.971 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'nettyWebServerFactoryCustomizer'
2019-11-22 15:14:29.972 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.web.embedded.EmbeddedWebServerFactoryCustomizerAutoConfiguration$NettyWebServerFactoryCustomizerConfiguration'
2019-11-22 15:14:29.974 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'nettyWebServerFactoryCustomizer' via factory method to bean named 'environment'
2019-11-22 15:14:29.974 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'nettyWebServerFactoryCustomizer' via factory method to bean named 'server-org.springframework.boot.autoconfigure.web.ServerProperties'
2019-11-22 15:14:30.036 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'r2dbcDemoApplication'
2019-11-22 15:14:30.039 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'ordersController'
2019-11-22 15:14:30.046 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'ordersRepository'
2019-11-22 15:14:30.092 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'databaseClient'
2019-11-22 15:14:30.092 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.data.r2dbc.R2dbcDataAutoConfiguration'
2019-11-22 15:14:30.095 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'connectionFactory'
2019-11-22 15:14:30.095 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfiguration$ConnectionPoolConnectionFactoryConfiguration'
2019-11-22 15:14:30.101 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'spring.r2dbc-org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties'
2019-11-22 15:14:30.118 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'connectionFactory' via factory method to bean named 'spring.r2dbc-org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties'
2019-11-22 15:14:30.271 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'org.springframework.boot.autoconfigure.data.r2dbc.R2dbcDataAutoConfiguration' via constructor to bean named 'connectionFactory'
2019-11-22 15:14:30.274 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'reactiveDataAccessStrategy'
2019-11-22 15:14:30.275 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'r2dbcMappingContext'
2019-11-22 15:14:30.277 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'r2dbcCustomConversions'
2019-11-22 15:14:30.342 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'r2dbcMappingContext' via factory method to bean named 'r2dbcCustomConversions'
2019-11-22 15:14:30.359 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'reactiveDataAccessStrategy' via factory method to bean named 'r2dbcMappingContext'
2019-11-22 15:14:30.359 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'reactiveDataAccessStrategy' via factory method to bean named 'r2dbcCustomConversions'
2019-11-22 15:14:30.392 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'exceptionTranslator'
2019-11-22 15:14:30.413 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'databaseClient' via factory method to bean named 'reactiveDataAccessStrategy'
2019-11-22 15:14:30.413 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'databaseClient' via factory method to bean named 'exceptionTranslator'
2019-11-22 15:14:30.508 DEBUG 11988 --- [           main] o.s.d.r.c.s.RepositoryFactorySupport     : Initializing repository instance for com.weir.r2dbc.OrdersRepository…
2019-11-22 15:14:30.553 DEBUG 11988 --- [           main] o.s.d.r.c.s.RepositoryFactorySupport     : Finished creation of repository instance for com.weir.r2dbc.OrdersRepository.
2019-11-22 15:14:30.561 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration'
2019-11-22 15:14:30.562 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.context.properties.ConfigurationBeanFactoryMetadata'
2019-11-22 15:14:30.563 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$Jackson2ObjectMapperBuilderCustomizerConfiguration'
2019-11-22 15:14:30.563 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'standardJacksonObjectMapperBuilderCustomizer'
2019-11-22 15:14:30.565 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'spring.jackson-org.springframework.boot.autoconfigure.jackson.JacksonProperties'
2019-11-22 15:14:30.571 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'standardJacksonObjectMapperBuilderCustomizer' via factory method to bean named 'org.springframework.boot.web.reactive.context.AnnotationConfigReactiveWebServerApplicationContext@65b104b9'
2019-11-22 15:14:30.572 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'standardJacksonObjectMapperBuilderCustomizer' via factory method to bean named 'spring.jackson-org.springframework.boot.autoconfigure.jackson.JacksonProperties'
2019-11-22 15:14:30.573 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonObjectMapperBuilderConfiguration'
2019-11-22 15:14:30.574 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$ParameterNamesModuleConfiguration'
2019-11-22 15:14:30.574 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'parameterNamesModule'
2019-11-22 15:14:30.578 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonObjectMapperConfiguration'
2019-11-22 15:14:30.579 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'jacksonObjectMapper'
2019-11-22 15:14:30.582 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'jacksonObjectMapperBuilder' via factory method to bean named 'org.springframework.boot.web.reactive.context.AnnotationConfigReactiveWebServerApplicationContext@65b104b9'
2019-11-22 15:14:30.582 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'jacksonObjectMapperBuilder' via factory method to bean named 'standardJacksonObjectMapperBuilderCustomizer'
2019-11-22 15:14:30.585 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'jsonComponentModule'
2019-11-22 15:14:30.585 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration'
2019-11-22 15:14:30.599 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'jacksonObjectMapper' via factory method to bean named 'jacksonObjectMapperBuilder'
2019-11-22 15:14:30.633 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration$DefaultCodecsConfiguration'
2019-11-22 15:14:30.635 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'defaultCodecCustomizer'
2019-11-22 15:14:30.637 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'spring.http-org.springframework.boot.autoconfigure.http.HttpProperties'
2019-11-22 15:14:30.640 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'spring.codec-org.springframework.boot.autoconfigure.codec.CodecProperties'
2019-11-22 15:14:30.642 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'defaultCodecCustomizer' via factory method to bean named 'spring.http-org.springframework.boot.autoconfigure.http.HttpProperties'
2019-11-22 15:14:30.642 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Autowiring by type from bean name 'defaultCodecCustomizer' via factory method to bean named 'spring.codec-org.springframework.boot.autoconfigure.codec.CodecProperties'
2019-11-22 15:14:30.644 DEBUG 11988 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration$JacksonCodecConfiguration'

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

明月松间行 2022-01-07 20:01:30

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

2019-11-24 08:24:37.126  INFO 36626 --- [           main] com.weir.r2dbc.R2dbcDemoApplication      : Starting R2dbcDemoApplication on weirdeMBP with PID 36626 (/Users/weir/git/weir-project/r2dbc-demo/target/classes started by weir in /Users/weir/git/weir-project/r2dbc-demo)
2019-11-24 08:24:37.129  INFO 36626 --- [           main] com.weir.r2dbc.R2dbcDemoApplication      : No active profile set, falling back to default profiles: default
2019-11-24 08:24:37.502  INFO 36626 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
2019-11-24 08:24:37.623  INFO 36626 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 117ms. Found 1 repository interfaces.
2019-11-24 08:24:38.279  WARN 36626 --- [           main] onfigReactiveWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reactorClientHttpConnector' defined in class path resource [org/springframework/boot/autoconfigure/web/reactive/function/client/ClientHttpConnectorConfiguration$ReactorNetty.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.http.client.reactive.ReactorClientHttpConnector]: Factory method 'reactorClientHttpConnector' threw exception; nested exception is java.lang.NoClassDefFoundError: io/netty/handler/codec/http/HttpHeaders
2019-11-24 08:24:38.301  INFO 36626 --- [           main] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-11-24 08:24:38.304 ERROR 36626 --- [           main] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reactorClientHttpConnector' defined in class path resource [org/springframework/boot/autoconfigure/web/reactive/function/client/ClientHttpConnectorConfiguration$ReactorNetty.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.http.client.reactive.ReactorClientHttpConnector]: Factory method 'reactorClientHttpConnector' threw exception; nested exception is java.lang.NoClassDefFoundError: io/netty/handler/codec/http/HttpHeaders
    at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:645)
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:625)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1338)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:879)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
    at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.refresh(ReactiveWebServerApplicationContext.java:66)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215)
    at com.weir.r2dbc.R2dbcDemoApplication.main(R2dbcDemoApplication.java:20)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.http.client.reactive.ReactorClientHttpConnector]: Factory method 'reactorClientHttpConnector' threw exception; nested exception is java.lang.NoClassDefFoundError: io/netty/handler/codec/http/HttpHeaders
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
    at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:640)
    ... 19 common frames omitted
Caused by: java.lang.NoClassDefFoundError: io/netty/handler/codec/http/HttpHeaders
    at reactor.netty.http.client.HttpClient.<clinit>(HttpClient.java:963)
    at org.springframework.http.client.reactive.ReactorClientHttpConnector.initHttpClient(ReactorClientHttpConnector.java:85)
    at org.springframework.http.client.reactive.ReactorClientHttpConnector.<init>(ReactorClientHttpConnector.java:77)
    at org.springframework.boot.autoconfigure.web.reactive.function.client.ClientHttpConnectorConfiguration$ReactorNetty.reactorClientHttpConnector(ClientHttpConnectorConfiguration.java:58)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
    ... 20 common frames omitted
Caused by: java.lang.ClassNotFoundException: io.netty.handler.codec.http.HttpHeaders
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ... 29 common frames omitted

清风夜微凉 2022-01-07 20:01:18

System.setProperty("io.netty.noUnsafe","true");

如日中天 2022-01-07 20:00:48

运行失败

百思不得你姐 2022-01-07 20:00:46

这个加不加,实际上并不影响你的服务运行。你把netty的日志等级降到INFO就看不到这个异常信息了。

柳若烟 2022-01-07 20:00:37

怎么加 我试了不行

妖妓 2022-01-07 20:00:16

加上一个JVM参数试试

--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED

 

凡尘雨 2022-01-07 19:45:48

这个是 netty的问题,和spring-boot没有直接关系

无人问我粥可暖 2022-01-07 14:25:59

换下jdk版本试试

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文