#BAEL-100 tests and update spring boot to 1.5.1.RELEASE (#1135)

* add tests for #BAEL-100 and upgrade spring boot to 1.5.1.RELEASE

* uncomment integration test configurations
This commit is contained in:
Tian Baoqiang
2017-02-09 02:51:21 +08:00
committed by Grzegorz Piwowarek
parent 7aa774352d
commit 2c8e3c9179
20 changed files with 444 additions and 18 deletions

View File

@@ -0,0 +1,25 @@
package com.baeldung.annotation.servletcomponentscan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
/**
* using the following annotations are equivalent:
* <ul><li>
* <code>@ServletComponentScan</code>
* </li><li>
* <code>@ServletComponentScan(basePackages = "com.baeldung.annotation.servletcomponentscan.javaee")</code>
* </li><li>
* <code>@ServletComponentScan(basePackageClasses = {AttrListener.class, HelloFilter.class, HelloServlet.class, EchoServlet.class})</code>
* </li></ul>
*/
@SpringBootApplication
@ServletComponentScan("com.baeldung.annotation.servletcomponentscan.javaee")
public class SpringBootAnnotatedApp {
public static void main(String[] args) {
SpringApplication.run(SpringBootAnnotatedApp.class, args);
}
}