Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目启动时InetIPv6Utils无法注入到NacosDiscoveryProperties #3445

Closed
fqtrnt opened this issue Sep 6, 2023 · 6 comments
Closed

项目启动时InetIPv6Utils无法注入到NacosDiscoveryProperties #3445

fqtrnt opened this issue Sep 6, 2023 · 6 comments
Labels

Comments

@fqtrnt
Copy link
Contributor

fqtrnt commented Sep 6, 2023

Which Component
Nacos Discovery

Describe the bug
项目启动InetIPv6Utils无法注入到NacosDiscoveryProperties

***************************
APPLICATION FAILED TO START
***************************

Description:

Field inetIPv6Utils in com.alibaba.cloud.nacos.NacosDiscoveryProperties required a bean of type 'com.alibaba.cloud.nacos.util.InetIPv6Utils' that could not be found.

The injection point has the following annotations:
        - @org.springframework.beans.factory.annotation.Autowired(required=true)

Simplest demo
git clone https://github.com/fqtrnt/nacos-issue.git

To Reproduce

  1. gradle bootRun

Expected behavior

Additional context
SpringBoot: 3.0.2
StringCloud: 2022.0.4
StirngCloudAlibaba: 2022.0.0
JDK: 17

@github-actions
Copy link

github-actions bot commented Oct 6, 2023

This issue has been open 30 days with no activity. This will be closed in 7 days.

@github-actions github-actions bot added the stale label Oct 6, 2023
@github-actions
Copy link

This issue has been automatically marked as stale because it hasn't had any recent activity.If you think this should still be open, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for your interest and contribution to the Sping Cloud Alibaba Community.

@chickenlj
Copy link
Collaborator

Which Component Nacos Discovery

Describe the bug 项目启动InetIPv6Utils无法注入到NacosDiscoveryProperties

***************************
APPLICATION FAILED TO START
***************************

Description:

Field inetIPv6Utils in com.alibaba.cloud.nacos.NacosDiscoveryProperties required a bean of type 'com.alibaba.cloud.nacos.util.InetIPv6Utils' that could not be found.

The injection point has the following annotations:
        - @org.springframework.beans.factory.annotation.Autowired(required=true)

Simplest demo git clone https://github.com/fqtrnt/nacos-issue.git

To Reproduce

  1. gradle bootRun

Expected behavior

Additional context SpringBoot: 3.0.2 StringCloud: 2022.0.4 StirngCloudAlibaba: 2022.0.0 JDK: 17

I had your demo downloaded but failed to compile and run it.

@fqtrnt
Copy link
Contributor Author

fqtrnt commented Dec 1, 2023

Which Component Nacos Discovery
Describe the bug 项目启动InetIPv6Utils无法注入到NacosDiscoveryProperties

***************************
APPLICATION FAILED TO START
***************************

Description:

Field inetIPv6Utils in com.alibaba.cloud.nacos.NacosDiscoveryProperties required a bean of type 'com.alibaba.cloud.nacos.util.InetIPv6Utils' that could not be found.

The injection point has the following annotations:
        - @org.springframework.beans.factory.annotation.Autowired(required=true)

Simplest demo git clone https://github.com/fqtrnt/nacos-issue.git
To Reproduce

  1. gradle bootRun

Expected behavior
Additional context SpringBoot: 3.0.2 StringCloud: 2022.0.4 StirngCloudAlibaba: 2022.0.0 JDK: 17

I had your demo downloaded but failed to compile and run it.
I'm add the mavenCentral to repositories. Please update and try again.

Copy link

This issue has been open 30 days with no activity. This will be closed in 7 days.

@github-actions github-actions bot added the stale label Dec 31, 2023
Copy link

github-actions bot commented Jan 9, 2024

This issue has been automatically marked as stale because it hasn't had any recent activity.If you think this should still be open, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for your interest and contribution to the Sping Cloud Alibaba Community.

@github-actions github-actions bot closed this as completed Jan 9, 2024
fqtrnt added a commit to fqtrnt/spring-cloud-alibaba that referenced this issue Apr 22, 2024
…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.
fqtrnt added a commit to fqtrnt/spring-cloud-alibaba that referenced this issue Apr 22, 2024
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants