随笔分类 -  SpringBoot

摘要:在项目中引入springboot-data的elasticsearch后, 写了一个实体类, 类里面定义了一个id, 同时用了@Id标注该属性为ES里面的ID 结果启动的时候发现console里面报了一个warnning: wanning log: 2022-07-01 16:56:24.266 W 阅读全文
posted @ 2022-07-01 17:05 你啊347 阅读(1124) 评论(1) 推荐(0) 编辑
摘要:BaseHttpSolrClient, NoClassDefFoundError HealthContributorAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.health.HealthContributor]: Factory method 'solrHealthContributor' threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/solr/client/solrj/impl/BaseHttpSolrClient$RemoteSolrException 阅读全文
posted @ 2022-06-09 17:05 你啊347 阅读(443) 评论(0) 推荐(0) 编辑
摘要:JPA返回指定实体对象 阅读全文
posted @ 2021-08-25 09:50 你啊347 阅读(1822) 评论(0) 推荐(0) 编辑
摘要:Springboot项目启动之后直接 Process finished with exit code 1 阅读全文
posted @ 2021-03-11 13:57 你啊347 阅读(2121) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示