启动es报错
- java.io.FileNotFoundException: /home/elsearch/elasticsearch-6.2.2/logs/djxt_sfrz.log (权限不够)
chown -R elsearch /home/elsearch/elasticsearch-6.2.2(es安装目录)
集成框架报错
1:Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘client’: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.client.TransportClientFactoryBean]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: org.springframework.util.Assert.isTrue(ZLjava/util/function/Supplier;)V
**解决方式:**升级spring版本,我的spring版本原先是4.1.4.RELEASE,数据库版本为6.2.2,将spring版本升