Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db9dac6

Browse files
authored
docs: add @EnableWebMvc for Spring Boot if necessary
1 parent 7fc00db commit db9dac6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/asciidoc/getting_started.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ dependencies {
121121
4. Springfox 3.x removes dependencies on guava and other 3rd party libraries (not zero dep yet! depends on spring plugin
122122
and open api libraries for annotations and models) so if you used guava predicates/functions those will need to
123123
transition to java 8 function interfaces
124+
5. If you are using WebMvc but you don't use the https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/servlet/config/annotation/EnableWebMvc.html[`@EnableWebMvc`] annotation yet, add this annotation.
124125

125126
===== Regular spring mvc
126127
1. Remove library inclusions of earlier releases. Specifically remove `springfox-swagger2` and `springfox-swagger-ui` inclusions.

0 commit comments

Comments
 (0)