1、网站启动
Caused by: java.lang.IllegalStateException: availableProcessors is already set to [8], rejecting [8]
配置环境变量:-Des.set.netty.runtime.available.processors=false
使用于:正式,单元测试等jvm变量
//解决netty冲突
System.setProperty("es.set.netty.runtime.available.processors", "false");