今天打算用springboot整合es创建一个索引并往索引里面写数据的时候,项目启动的时候一直报下面的这个错误,错误大概如下,

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.elasticsearch.client.transport.TransportClient]: Factory method 'esClient' threw exception; nested exception is java.lang.IllegalStateException: availableProcessors is already set to [4], rejecting [4]at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:579) ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]... 44 common frames omitted
Caused by: java.lang.IllegalStateException: availableProcessors is already set to [4], rejecting [4]at io.netty.util.NettyRuntime$AvailableProcessorsHolder.setAvailableProcessors(NettyRuntime.java:51) ~[netty-common-

springboot整合es启动报错的问题相关推荐

  1. SpringBoot整合minio启动报错无法访问okhttp3.HttpUrl

    问题: 项目启动报错: 无法访问okhttp3.HttpUrl 找不到okhttp3.HttpUrl的类文件 原因我猜应该是docekr pull下来的minio版本高了.因为几个月前我搞的时候还没有 ...

  2. Springboot集成ES启动报错

    报错内容 None of the configured nodes are available elasticsearch.yml配置 cluster.name: ftest node.name: n ...

  3. es启动报错:could not find java in JAVA_HOME at /elk/es/elasticsearch-7.11.1/jdk/bin/java

    es启动报错 错误排查 检查java环境变量是否配置 es启动要使用非root账户 es账户是否授权 如图:我的es账户未授权 通过执行命令解决: chown -R elk:elk /elk/* do ...

  4. SpringCloud - 整合Nacos启动报错Consider defining a bean of type IClientConfig

    SpringCloud - 整合Nacos启动报错Consider defining a bean of type IClientConfig 前言 一. 尝试解决Bug的几种不合适方案 1.1 添加 ...

  5. 【已解决】Springboot服务 Netty启动报错Failed to submit a listener

    [已解决]Springboot服务 Netty启动报错Failed to submit a listener Force-closing a channel whose registration ta ...

  6. SpringBoot集成Redis 启动报错

    SpringBoot启动报错:Field redisTemplate in com.test.redis.controller.TestController required a bean of ty ...

  7. ES启动报错error downloading geoip database [GeoLite2-ASN.mmdb]

    elasticsearch "8.5.3"版本启动报错[o.e.i.g.GeoIpDownloader ] [localhost.localdomain] error downlo ...

  8. Idea springboot应用,启动报错:org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputExcept

    问题原因: application.yml 文件编写错误,一般情况在于空格多或者少的原因,检查下空格 application.yml 编码发生了改变,GBK和UTF-8两种编码格式的问题 解决: 最快 ...

  9. ES启动报错 :could not fidn java; set JAVA_HOME or ensure java is in PATH

    环境 : Ubuntu 16.04 ES软件包 : tar.gz 1.报错信息 :could not fidn java; set JAVA_HOME or ensure java is in PAT ...

最新文章

  1. 数据中台应该包含什么?
  2. 二进制安装mysql集群_基于二进制安装Cloudera Manager集群
  3. [转]American Dream 是指什麽
  4. oracle12c的scott,Oracle12C创建scott账户
  5. maven之build resources resource 详细介绍
  6. metasploit终端命令大全 MSF
  7. 蝌蚪与青蛙是同一个物种么?
  8. 目标检测之Faster-RCNN的pytorch代码详解(模型准备篇)
  9. 夏门大学的计算机专业排第几,厦门大学最好重点的专业在全国排名具体情况
  10. 网页制作中点一张图片变成图片浏览式_网页不会做,那是画册看得少(上)
  11. bzoj 2257: [Jsoi2009]瓶子和燃料(裴蜀定理)
  12. mongoose的用法(注:连接数据库)
  13. flash linux安装教程 pdf,Flash基础入门之linux 下安装adobe flash的关键
  14. python当当图书信息抓取
  15. 苏州新导监狱戒毒行业工具资产智能管理
  16. chrome插件开发之调试
  17. 16 - 12 - 20 KMP算法 模式匹配 终极奥义!
  18. UE4-GamePlay-UPlayer
  19. android如何app主题更换,通过EventBus更换android app主题
  20. 在HTML页面里调用PHP的方法

热门文章

  1. GO学习第三天——自定义包
  2. MS SQL 监控数据/日志文件增长
  3. MIT 算法导论 (二)Math Notation
  4. In和exists使用及性能分析(一):in的使用
  5. www.cnblog.org无法访问了
  6. css学习_css3过渡
  7. nginx(三)反向代理和负载均衡
  8. 2017 4月25日下午
  9. call to member function bind_param() on boolean...........
  10. 我心中的核心组件(可插拔的AOP)~第十五回 我的日志组件Logger.Core(策略,模版方法,工厂,单例等模式的使用)...