DEV Community

Salad Lam
Salad Lam

Posted on

Deprecation of WebMvcConfigurerAdapter class from Spring MVC 5

Notice

I wrote this article and was originally published on Qiita on 27 August 2019.


Thanks to feature of defining default method in interface in Java 8, start from Spring MVC 5, configuration by using org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter is not necessary. Just using org.springframework.web.servlet.config.annotation.WebMvcConfigurer interface and implement functions you need.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay