Created
January 18, 2021 10:31
-
-
Save kojofosu/e7189b46715c75b1e52214493c369f3b to your computer and use it in GitHub Desktop.
[ERROR] Failed to introspect Class [springfox.documentation.swagger.readers.operation.SwaggerResponseMessageReader] from ClassLoader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
java.lang.ClassNotFoundException: org.springframework.web.servlet.HandlerMapping means that you are missing a dependency in your pom.xml, to be precise you are missing spring-webmvc dependency. | |
As you are using Spring Boot, just add this dependency to your pom: --> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-web</artifactId> | |
</dependency> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
java.lang.ClassNotFoundException: org.springframework.web.servlet.HandlerMapping means that you are missing a dependency in your pom.xml, to be precise you are missing spring-webmvc dependency.
As you are using Spring Boot, just add this dependency to your pom: