使用es报错Failed to load ApplicationContext
使用es报错Failed to load ApplicationContext,看下自己是不是和redis是一块整合的,如果是那么就在启动类加上:
System.setProperty("es.set.netty.runtime.available.processors", "false");
如下图:
如果是在启动类测试,启动类构造加上去System.setProperty("es.set.netty.runtime.available.processors", "false");
如下图:
仅供参考,不喜勿喷