fanxw 5 anni fa
parent
commit
da8bf9e298
2 ha cambiato i file con 8 aggiunte e 1 eliminazioni
  1. 7 0
      pom.xml
  2. 1 1
      src/main/java/com/chinaitop/depot/InterceptorConfig.java

+ 7 - 0
pom.xml

@@ -94,6 +94,13 @@
94 94
 			<version>1.2.37</version>
95 95
 		</dependency>
96 96
 		
97
+		<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
98
+        <dependency>
99
+            <groupId>org.apache.httpcomponents</groupId>
100
+            <artifactId>httpclient</artifactId>
101
+            <version>4.5.6</version>
102
+        </dependency>
103
+		
97 104
 	</dependencies>
98 105
 	
99 106
 

+ 1 - 1
src/main/java/com/chinaitop/depot/InterceptorConfig.java

@@ -5,7 +5,7 @@ import org.springframework.context.annotation.Configuration;
5 5
 import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
6 6
 import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
7 7
 
8
-@Configuration
8
+//@Configuration
9 9
 public class InterceptorConfig extends WebMvcConfigurationSupport {
10 10
 
11 11
 	@Bean