Closed Vilican closed 1 year ago
Hi @Vilican , sourceLocator
comes from appconfiguration config
, but your pom doesn't include spring-cloud-azure-appconfiguration-config
, could you help provide a minimal project, thanks.
@mrm9084 FYI
It is dragged in via spring-cloud-azure-starter-actuator
[INFO] +- com.azure.spring:spring-cloud-azure-starter-actuator:jar:5.1.0:compile
[INFO] | +- com.azure.spring:spring-cloud-azure-starter:jar:5.1.0:compile
[INFO] | | \- com.azure.spring:spring-cloud-azure-autoconfigure:jar:5.1.0:compile
[INFO] | | \- com.azure.spring:spring-cloud-azure-service:jar:5.1.0:compile
[INFO] | | \- com.azure.spring:spring-cloud-azure-core:jar:5.1.0:compile
[INFO] | | +- com.azure:azure-core-amqp:jar:2.8.4:compile
[INFO] | | | +- com.microsoft.azure:qpid-proton-j-extensions:jar:1.2.4:compile
[INFO] | | | \- org.apache.qpid:proton-j:jar:0.33.8:compile
[INFO] | | \- com.azure:azure-core-management:jar:1.11.0:compile
[INFO] | \- com.azure.spring:spring-cloud-azure-actuator-autoconfigure:jar:5.1.0:compile
[INFO] | +- com.azure.spring:spring-cloud-azure-actuator:jar:5.1.0:compile
[INFO] | \- com.azure.spring:spring-cloud-azure-appconfiguration-config-web:jar:5.1.0:compile
it should probably be set <scope>provided</scope>
and <optional>true</optional>
in that artifact to avoid this
Describe the bug
After upgrading from 5.0.0 to 5.1.0, the Spring Boot app will fail to start.
Exception or Stack Trace
Setup (please complete the following information):
If you suspect a dependency version mismatch (e.g. you see
NoClassDefFoundError
,NoSuchMethodError
or similar), please check out Troubleshoot dependency version conflict article first. If it doesn't provide solution for the problem, please provide:mvn dependency:tree -Dverbose
)Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report