|
|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2012-2018 the original author or authors. |
|
|
|
* Copyright 2012-2019 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -64,8 +64,8 @@ public class NonAutoConfigurationSampleTomcatApplicationTests { |
|
|
|
DispatcherServletAutoConfiguration.class, WebMvcAutoConfiguration.class, |
|
|
|
DispatcherServletAutoConfiguration.class, WebMvcAutoConfiguration.class, |
|
|
|
HttpMessageConvertersAutoConfiguration.class, |
|
|
|
HttpMessageConvertersAutoConfiguration.class, |
|
|
|
PropertyPlaceholderAutoConfiguration.class }) |
|
|
|
PropertyPlaceholderAutoConfiguration.class }) |
|
|
|
@ComponentScan(basePackageClasses = { SampleController.class, |
|
|
|
@ComponentScan( |
|
|
|
HelloWorldService.class }) |
|
|
|
basePackageClasses = { SampleController.class, HelloWorldService.class }) |
|
|
|
public static class NonAutoConfigurationSampleTomcatApplication { |
|
|
|
public static class NonAutoConfigurationSampleTomcatApplication { |
|
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
|
public static void main(String[] args) { |
|
|
|
|