spring-cloud-consul icon indicating copy to clipboard operation
spring-cloud-consul copied to clipboard

Depends on web to import a config

Open DanielGilB opened this issue 2 years ago • 0 comments

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

DanielGilB avatar Jul 17 '23 13:07 DanielGilB