Skip to content

Commit

Permalink
fix: 2023.x alibaba#3445 A bean for InetIPv6Utils that could not foun…
Browse files Browse the repository at this point in the history
…d at project start up

A bean for InetIPv6Utils could not be found at project start up
when integrating Spring Cloud Config with Spring Cloud Alibaba Nacos Discovery.
  • Loading branch information
fqtrnt committed Apr 22, 2024
1 parent 23e6851 commit a2d851a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import com.alibaba.cloud.nacos.discovery.NacosDiscoveryClientConfiguration;
import com.alibaba.cloud.nacos.discovery.reactive.NacosReactiveDiscoveryClientConfiguration;

import com.alibaba.cloud.nacos.util.UtilIPv6AutoConfiguration;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
Expand All @@ -38,7 +39,7 @@
@Configuration(proxyBeanMethods = false)
@ImportAutoConfiguration({ NacosDiscoveryAutoConfiguration.class,
NacosServiceAutoConfiguration.class, NacosDiscoveryClientConfiguration.class,
NacosReactiveDiscoveryClientConfiguration.class })
NacosReactiveDiscoveryClientConfiguration.class, UtilIPv6AutoConfiguration.class })
public class NacosDiscoveryClientConfigServiceBootstrapConfiguration {

}

0 comments on commit a2d851a

Please sign in to comment.