springboot与springcloud版本关系

Spring启动报错org.springframework.boot.builder.SpringApplicationBuilder

具体提示:

1
java.lang.NoSuchMethodError: org.springframework.boot.builder.SpringApplicationBuilder.<in

启动报错的这个原因是SpringBoot的版本和SpringCloud的版本存在不同导致的报错,
调整对应版本,目前大版本对应如下:

Spring Boot Spring Cloud
1.2.x Angel版本
1.3.x Brixton版本
1.4.x stripes Camden版本
1.5.x Dalston版本、Edgware版本
2.0.x Finchley版本
2.1.x Greenwich.SR2

官网地址:https://start.spring.io/actuator/info

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"git":{
"branch":"219a0df1dd0b1cf561e71affd4d41ed7515fe01a",
"commit":{
"id":"219a0df",
"time":"2020-11-15T07:21:11Z"
}
},
"build":{
"version":"0.0.1-SNAPSHOT",
"artifact":"start-site",
"versions":{
"spring-boot":"2.4.0",
"initializr":"0.10.0-SNAPSHOT"
},
"name":"start.spring.io website",
"time":"2020-11-15T07:22:38.805Z",
"group":"io.spring.start"
},
"bom-ranges":{
"azure":{
"2.0.10":"Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE",
"2.1.10":"Spring Boot >=2.1.0.RELEASE and <2.2.0.M1",
"2.2.4":"Spring Boot >=2.2.0.M1 and <2.3.0.M1",
"2.3.5":"Spring Boot >=2.3.0.M1"
},
"codecentric-spring-boot-admin":{
"2.0.6":"Spring Boot >=2.0.0.M1 and <2.1.0.M1",
"2.1.6":"Spring Boot >=2.1.0.M1 and <2.2.0.M1",
"2.2.4":"Spring Boot >=2.2.0.M1 and <2.3.0.M1",
"2.3.1":"Spring Boot >=2.3.0.M1 and <2.5.0-M1"
},
"solace-spring-boot":{
"1.0.0":"Spring Boot >=2.2.0.RELEASE and <2.3.0.M1",
"1.1.0":"Spring Boot >=2.3.0.M1"
},
"solace-spring-cloud":{
"1.0.0":"Spring Boot >=2.2.0.RELEASE and <2.3.0.M1",
"1.1.1":"Spring Boot >=2.3.0.M1"
},
"spring-cloud":{
"Finchley.M2":"Spring Boot >=2.0.0.M3 and <2.0.0.M5",
"Finchley.M3":"Spring Boot >=2.0.0.M5 and <=2.0.0.M5",
"Finchley.M4":"Spring Boot >=2.0.0.M6 and <=2.0.0.M6",
"Finchley.M5":"Spring Boot >=2.0.0.M7 and <=2.0.0.M7",
"Finchley.M6":"Spring Boot >=2.0.0.RC1 and <=2.0.0.RC1",
"Finchley.M7":"Spring Boot >=2.0.0.RC2 and <=2.0.0.RC2",
"Finchley.M9":"Spring Boot >=2.0.0.RELEASE and <=2.0.0.RELEASE",
"Finchley.RC1":"Spring Boot >=2.0.1.RELEASE and <2.0.2.RELEASE",
"Finchley.RC2":"Spring Boot >=2.0.2.RELEASE and <2.0.3.RELEASE",
"Finchley.SR4":"Spring Boot >=2.0.3.RELEASE and <2.0.999.BUILD-SNAPSHOT",
"Finchley.BUILD-SNAPSHOT":"Spring Boot >=2.0.999.BUILD-SNAPSHOT and <2.1.0.M3",
"Greenwich.M1":"Spring Boot >=2.1.0.M3 and <2.1.0.RELEASE",
"Greenwich.SR6":"Spring Boot >=2.1.0.RELEASE and <2.1.999.BUILD-SNAPSHOT",
"Greenwich.BUILD-SNAPSHOT":"Spring Boot >=2.1.999.BUILD-SNAPSHOT and <2.2.0.M4",
"Hoxton.SR9":"Spring Boot >=2.2.0.M4 and <2.3.7.BUILD-SNAPSHOT",
"Hoxton.BUILD-SNAPSHOT":"Spring Boot >=2.3.7.BUILD-SNAPSHOT and <2.4.0.M1",
"2020.0.0-M3":"Spring Boot >=2.4.0.M1 and <=2.4.0.M1",
"2020.0.0-M4":"Spring Boot >=2.4.0.M2 and <=2.4.0-M3",
"2020.0.0-SNAPSHOT":"Spring Boot >=2.4.0-M4"
},
"spring-cloud-alibaba":{
"2.2.1.RELEASE":"Spring Boot >=2.2.0.RELEASE and <2.3.0.M1"
},
"spring-cloud-services":{
"2.0.3.RELEASE":"Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE",
"2.1.8.RELEASE":"Spring Boot >=2.1.0.RELEASE and <2.2.0.RELEASE",
"2.2.6.RELEASE":"Spring Boot >=2.2.0.RELEASE and <2.3.0.RELEASE",
"2.3.0.RELEASE":"Spring Boot >=2.3.0.RELEASE and <2.4.0-M1"
},
"spring-geode":{
"1.2.11.RELEASE":"Spring Boot >=2.2.0.M5 and <2.3.0.M1",
"1.3.5.RELEASE":"Spring Boot >=2.3.0.M1 and <2.4.0-M1",
"1.4.0-RC1":"Spring Boot >=2.4.0-M1"
},
"spring-statemachine":{
"2.0.0.M4":"Spring Boot >=2.0.0.RC1 and <=2.0.0.RC1",
"2.0.0.M5":"Spring Boot >=2.0.0.RC2 and <=2.0.0.RC2",
"2.0.1.RELEASE":"Spring Boot >=2.0.0.RELEASE"
},
"vaadin":{
"10.0.17":"Spring Boot >=2.0.0.M1 and <2.1.0.M1",
"14.4.2":"Spring Boot >=2.1.0.M1 and <2.4.0-M1"
},
"wavefront":{
"2.0.2":"Spring Boot >=2.1.0.RELEASE and <2.4.0-M1",
"2.1.0-SNAPSHOT":"Spring Boot >=2.4.0-M1"
}
},
"dependency-ranges":{
"okta":{
"1.2.1":"Spring Boot >=2.1.2.RELEASE and <2.2.0.M1",
"1.4.0":"Spring Boot >=2.2.0.M1 and <2.4.0-M1"
},
"mybatis":{
"2.0.1":"Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE",
"2.1.4":"Spring Boot >=2.1.0.RELEASE and <2.5.0-M1"
},
"camel":{
"2.22.4":"Spring Boot >=2.0.0.M1 and <2.1.0.M1",
"2.25.2":"Spring Boot >=2.1.0.M1 and <2.2.0.M1",
"3.3.0":"Spring Boot >=2.2.0.M1 and <2.3.0.M1",
"3.5.0":"Spring Boot >=2.3.0.M1 and <2.4.0-M1"
},
"open-service-broker":{
"2.1.3.RELEASE":"Spring Boot >=2.0.0.RELEASE and <2.1.0.M1",
"3.0.4.RELEASE":"Spring Boot >=2.1.0.M1 and <2.2.0.M1",
"3.1.1.RELEASE":"Spring Boot >=2.2.0.M1 and <2.4.0-M1"
}
}
}