mirror of
https://github.com/201206030/novel.git
synced 2025-07-17 01:36:37 +00:00
build: 升级spring-boot3至3.3.0
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
package io.github.xxyopen.novel.core.config;
|
||||
|
||||
import co.elastic.clients.json.jackson.JacksonJsonpMapper;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.http.impl.nio.client.HttpAsyncClientBuilder;
|
||||
import org.elasticsearch.client.RestClient;
|
||||
@ -29,14 +28,6 @@ import java.security.cert.X509Certificate;
|
||||
@Slf4j
|
||||
public class EsConfig {
|
||||
|
||||
/**
|
||||
* 解决 ElasticsearchClientConfigurations 修改默认 ObjectMapper 配置的问题
|
||||
*/
|
||||
@Bean
|
||||
JacksonJsonpMapper jacksonJsonpMapper() {
|
||||
return new JacksonJsonpMapper();
|
||||
}
|
||||
|
||||
/**
|
||||
* fix `sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:
|
||||
* unable to find valid certification path to requested target`
|
||||
|
Reference in New Issue
Block a user