text: <?xml version="1.0" encoding="UTF-8"?>
  <beans xmlns="http://www.springframework.org/schema/beans"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:context="http://www.springframework.org/schema/context"
         xmlns:mvc="http://www.springframework.org/schema/mvc"
         xsi:schemaLocation="http://www.springframework.org/schema/beans
          http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
          http://www.springframework.org/schema/context
          http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/mvc https://www.springframework.org/schema/mvc/spring-mvc.xsd">
  
      <mvc:annotation-driven conversion-service="conversionService"/>
      <mvc:default-servlet-handler/>
  
      <!--<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">-->
          <!--<property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>-->
          <!--<property name="prefix" value="/WEB-INF/jsp/"/>-->
          <!--<property name="suffix" value=".jsp"/>-->
      <!--</bean>-->
  
      <bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
          <property name="defaultEncoding" value="utf-8"/>
          <property name="maxUploadSize" value="10485760000"/>
          <property name="maxInMemorySize" value="40960"/>
      </bean>
  
      <context:component-scan base-package="org.seckill.web;org.seckill.web.swagger"/>
  
      <!--日期字符串转date类型-->
      <bean id="conversionService" class="org.springframework.format.support.FormattingConversionServiceFactoryBean">
          <property name="converters">
              <bean class="org.seckill.util.common.util.String2DateUtil"/>
          </property>
      </bean>
  
      <!--静态资源访问-->
      <!--<mvc:resources mapping="/html/**" location="/html/"/>-->
  
      <!--线程池-->
      <bean id="taskExecutor" class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
          <property name="corePoolSize" value="10"/>
          <property name="maxPoolSize" value="20"/>
          <property name="queueCapacity" value="100"/>
          <property name="keepAliveSeconds" value="60"/>
          <property name="rejectedExecutionHandler">
              <bean class="java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy" />
          </property>
      </bean>
  
  
  </beans>