Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.javabycode.config;
- import org.springframework.context.annotation.ComponentScan;
- import org.springframework.context.annotation.Configuration;
- import org.springframework.web.servlet.config.annotation.EnableWebMvc;
- import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
- @EnableWebMvc
- @Configuration
- @ComponentScan("com.javabycode")
- public class MyWebConfig extends WebMvcConfigurerAdapter {
- }
Add Comment
Please, Sign In to add comment