fix spring-rest configuration

This commit is contained in:
DOHA
2016-09-12 12:55:46 +02:00
parent e6d11e531c
commit f2c52d6cfc
6 changed files with 27 additions and 37 deletions

View File

@@ -15,6 +15,11 @@ import org.springframework.oxm.xstream.XStreamMarshaller;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
/*
* Please note that main web configuration is in src/main/webapp/WEB-INF/api-servlet.xml
*
*/
@Configuration
@EnableWebMvc
@ComponentScan({ "org.baeldung.web" })