-
Notifications
You must be signed in to change notification settings - Fork 433
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
Class ConsulDiscoveryProperties is not found when accessing /configprops #295
Comments
Please post your dependencies. Also please explain why |
Hi @jvmlet , thank you for your reply. My build.gradle file is a bit messed up because of a root and sub projects setup, I think probably posting the dependencies tree is better for viewing: Compile dependencies
Runtime dependencies
We use
|
Please try to set breakpoint here Line 36 in 224c511
--debug will produce the autoconfiguration report.
|
hi @jvmlet @joatcoursera !! I have exactly the same problem, when I invoke the actuator endpoint If it helps I have a project here that reproduces it: Steps:
lognet version 4.6.0 |
I also see this issue when calling
|
Thanks @ferblaca, reproducible repo will definitely help to resolve this. |
Sorry about kinda forgetting about this. I just tried and set the breakpoint. This line is actually not called when I tried to access http://localhost:8080/configprops . The exception is still being thrown. |
Please try with latest |
@jvmlet can you indicate the configuration of the maven artefact repositories to download the SNAPSHOT version? thanks! |
@jvmlet I confirm that with version 4.7.1-SNAPSHOT the operation is now correct! |
will release |
|
Hi there, I am getting this error when trying to look at the Configuration properties of my Spring Boot application through
/configprops
endpoint:After some debugging I think the cause is
org.springframework.cloud:spring-cloud-starter-consul-discovery
is included ascompileOnly
but here it is actually needed in runtime?The text was updated successfully, but these errors were encountered: