随笔分类 - SpringBoot
摘要:在项目中引入springboot-data的elasticsearch后, 写了一个实体类, 类里面定义了一个id, 同时用了@Id标注该属性为ES里面的ID 结果启动的时候发现console里面报了一个warnning: wanning log: 2022-07-01 16:56:24.266 W
阅读全文
摘要: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
阅读全文
摘要:JPA返回指定实体对象
阅读全文
摘要:
Springboot项目启动之后直接 Process finished with exit code 1
阅读全文
