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
springdoc-openapi-webflux-ui 2.0.0-M7 + spring actuator + spring cloud crashes at startup #1904
Comments
The startup problem described above can also be triggered by injecting a
|
Also occurs when adding spring cloud stream
|
…d crashes at startup. Fixes #1904.
@magnus-larsson and @davidmelia, You can test with the latest SNAPSHOT and let me know if fixes this problem. |
Great, thanks! I tried to locate your snapshot repo, and found https://s01.oss.sonatype.org/content/repositories/snapshots in https://github.com/springdoc/springdoc-openapi/blob/master/pom.xml. But it does not seem to contain any updated snapshot build of v2.0.0. Where can I find the latest snapshot builds of v2.0.0? |
You should look for RC2 SNAPSHOTS |
Ok, I see, thanks! Yes, it seems to work fine now. I'll make some more tests with my actual application tomorrow. |
Yes, it works fine with my application as well. Thanks for the correction! |
Describe the bug
This seems related to issues #1607 and #1617, maybe a remaining corner case?
If the following configuration is used, the application fails to start:
The error message is the same as in #1607 and #1617:
The following versions are used:
Sample
product-composite-service.zip
To Reproduce
Steps to reproduce the behavior:
Unzip the attached sample code.
Build and start the server with:
./gradlew clean test bootRun
Run the following curl commands to verify it works as expcted:
Expect them all to return
200
.Stop the application
Edit
src/main/resources/application.yml
and remove the comment mark before:Start the application again and it will now fail with the error message shown above.
Expected behavior
That the application starts up normally and the curl commands mentioned above all return
200
, when using the settingmanagement.endpoints.web.exposure.include: "*"
.The text was updated successfully, but these errors were encountered: