一直以为自己spring哪里配置出错了,查了很多资料都说@service注解每加入。后来发现是httpclient 和httpcore版本不对。改成比较新的版本就可以了。可能我用es7.6.1比较新所以要对应比较新的版本。
es创建bean一直出错的问题(Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true)
猜你喜欢
转载自www.cnblogs.com/yaohaitao/p/12643187.html
今日推荐
周排行