ES7.17.15 开启了密码访问,连接时执行了 SQL 异常
java.sql.SQLException: Error at com.alibaba.druid.pool.ElasticSearchDruidDataSource.handleConnectionException(ElasticSearchDruidDataSource.java:1583) at com.alibaba.druid.pool.DruidPooledConnection.handleException(DruidPooledConnection.java:122) at com.alibaba.druid.pool.DruidPooledStatement.checkException(DruidPooledStatement.java:87) at com.alibaba.druid.pool.ElasticSearchDruidPooledPreparedStatement.executeQuery(ElasticSearchDruidPooledPreparedStatement.java:53) at top.cfl.cflwork.util.EsHandleUtil.execResult2(EsHandleUtil.java:851) at top.cfl.cflwork.service.ZyzkWjjService.getResultMapList(ZyzkWjjService.java:221) at top.cfl.cflwork.service.ZyzkWjjService.searchByMultiCondition(ZyzkWjjService.java:956) at top.cfl.cflwork.service.ZyzkWjjService$$FastClassBySpringCGLIB$$dbb3a4d9.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:703) at top.cfl.cflwork.service.ZyzkWjjService$$EnhancerBySpringCGLIB$$7dd3f679.searchByMultiCondition() at top.cfl.cflwork.controller.ZyzkWjjController.searchByMultiCondition(ZyzkWjjController.java:411) at top.cfl.cflwork.controller.ZyzkWjjController$$FastClassBySpringCGLIB$$3fc1583.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:792) at
内容来源: NLPchina/elasticsearch-sql