Snapshot 3.0.0 broken. @ConditionalOnClass did not find required class
See original GitHub issueI use snapshot version 3.0.0
Seems on the latest update something went wrong. Annotation parameter on class Swagger2DocumentationWebMvcConfiguration point to class which is present only on older(release 2.9.2) version. It should be enough just change this line @ConditionalOnClass(name = "springfox.documentation.spring.web.SpringfoxWebMvcConfiguration")
to @ConditionalOnClass(name = "springfox.documentation.spring.web.SpringfoxWebConfiguration")
but honestly I didnt test such fix
Error on log
2019-03-07 10:47:33.001 [restartedMain] TRACE [SpringBootCondition.java:92] - Condition OnClassCondition on springfox.documentation.swagger2.configuration.Swagger2DocumentationWebMvcConfiguration did not match due to @ConditionalOnClass did not find required class ‘springfox.documentation.spring.web.SpringfoxWebMvcConfiguration’ - org.springframework.boot.autoconfigure.condition.OnClassCondition
Info in MANIFEST.MF
Manifest-Version: 1.0 Implementation-Title: springfox-swagger2 Built-With: gradle-5.2, groovy-2.5.4 Implementation-Version: null Built-By: circleci Build-Time: 2019-02-26T02:07:09+0000 Created-By: 1.8.0_181 (Oracle Corporation) Built-On: b17fd3680f46/172.23.0.3
Issue Analytics
- State:
- Created 5 years ago
- Comments:9
This issue has been automatically closed because it has not had recent activity. Please re-open a new issue if this is still an issue.