Java 8からインタフェースにdefaultメソッドが定義できる新機能のおかげ、org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterでSpring MVCを設定する必要がない、インタフェースorg.springframework.web.servlet.config.annotation.WebMvcConfigurerを実装して必要なメソッドが定義するだけでいい。
More than 5 years have passed since last update.
Spring MVC 5からクラスWebMvcConfigurerAdapterが廃止された
Posted at
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme