原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/11811932.html

 

Project Directory

Feign Dynamic URL

 

Maven Dependency

 1 <?xml version="1.0" encoding="UTF-8"?>
 2 <project xmlns="http://maven.apache.org/POM/4.0.0"
 3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 5     <modelVersion>4.0.0</modelVersion>
 6 
 7     <groupId>org.fool.feign</groupId>
 8     <artifactId>hello-feign</artifactId>
 9     <version>1.0-SNAPSHOT</version>
10 
11     <parent>
12         <groupId>org.springframework.boot</groupId>
13         <artifactId>spring-boot-starter-parent</artifactId>
14         <version>2.2.0.RELEASE</version>
15     </parent>
16 
17     <dependencies>
18         <dependency>
19             <groupId>org.springframework.boot</groupId>
20             <artifactId>spring-boot-starter-web</artifactId>
21             <exclusions>
22                 <exclusion>
23                     <groupId>org.springframework.boot</groupId>
24                     <artifactId>spring-boot-starter-tomcat</artifactId>
25                 </exclusion>
26             </exclusions>
27         </dependency>
28 
29         <dependency>
30             <groupId>org.springframework.boot</groupId>
31             <artifactId>spring-boot-starter-jetty</artifactId>
32             <exclusions>
33                 <exclusion>
34                     <groupId>org.eclipse.jetty.websocket</groupId>
35                     <artifactId>websocket-server</artifactId>
36                 </exclusion>
37                 <exclusion>
38                     <groupId>org.eclipse.jetty.websocket</groupId>
39                     <artifactId>javax-websocket-server-impl</artifactId>
40                 </exclusion>
41             </exclusions>
42         </dependency>
43 
44         <dependency>
45             <groupId>org.projectlombok</groupId>
46             <artifactId>lombok</artifactId>
47         </dependency>
48 
49         <dependency>
50             <groupId>org.springframework.cloud</groupId>
51             <artifactId>spring-cloud-starter-openfeign</artifactId>
52             <version>2.1.3.RELEASE</version>
53         </dependency>
54 
55         <dependency>
56             <groupId>com.google.code.gson</groupId>
57             <artifactId>gson</artifactId>
58         </dependency>
59 
60         <dependency>
61             <groupId>org.springframework.boot</groupId>
62             <artifactId>spring-boot-starter-test</artifactId>
63             <scope>test</scope>
64         </dependency>
65     </dependencies>
66 
67     <build>
68         <plugins>
69             <plugin>
70                 <groupId>org.springframework.boot</groupId>
71                 <artifactId>spring-boot-maven-plugin</artifactId>
72             </plugin>
73         </plugins>
74     </build>
75 </project>
View Code

相关文章:

  • 2022-12-23
  • 2021-06-22
  • 2022-12-23
  • 2022-01-19
猜你喜欢
  • 2021-09-30
  • 2022-02-14
  • 2022-12-23
  • 2021-12-16
  • 2021-06-30
  • 2022-03-03
  • 2021-09-10
相关资源
相似解决方案