|
|
@ -37,6 +37,7 @@ import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.PropertyPlaceholderAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.PropertyPlaceholderAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
|
|
|
|
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.web.DispatcherServletAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.web.DispatcherServletAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.web.EmbeddedServletContainerAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.web.EmbeddedServletContainerAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration;
|
|
|
@ -67,6 +68,7 @@ import org.springframework.web.servlet.DispatcherServlet;
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Configuration
|
|
|
|
@Configuration
|
|
|
|
@ConditionalOnClass({ Servlet.class, DispatcherServlet.class })
|
|
|
|
@ConditionalOnClass({ Servlet.class, DispatcherServlet.class })
|
|
|
|
|
|
|
|
@ConditionalOnWebApplication
|
|
|
|
@AutoConfigureAfter({ PropertyPlaceholderAutoConfiguration.class,
|
|
|
|
@AutoConfigureAfter({ PropertyPlaceholderAutoConfiguration.class,
|
|
|
|
EmbeddedServletContainerAutoConfiguration.class, WebMvcAutoConfiguration.class,
|
|
|
|
EmbeddedServletContainerAutoConfiguration.class, WebMvcAutoConfiguration.class,
|
|
|
|
ManagementServerPropertiesAutoConfiguration.class })
|
|
|
|
ManagementServerPropertiesAutoConfiguration.class })
|
|
|
|