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

Depends on web to import a config #824

Open
DanielGilB opened this issue Jul 17, 2023 · 0 comments
Open

Depends on web to import a config #824

DanielGilB opened this issue Jul 17, 2023 · 0 comments

Comments

@DanielGilB
Copy link

Describe the bug
`java.lang.NoClassDefFoundError: org/springframework/web/util/UriComponentsBuilder'
It forces me to install the Web dependency to connect to Consul and get the config.

https://github.com/spring-cloud/spring-cloud-consul/blob/main/spring-cloud-consul-config/src/main/java/org/springframework/cloud/consul/config/ConsulConfigDataLocationResolver.java#L48

My app its an Application Runner with spring boot 3, java 17 and spring cloud 2022.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants