最近再练习某谷的maven聚合的微服务商城项目,跟着教程一步一来的,结果在项目启动的时候还是出了问题,现在附上报错代码信息,
Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2020-06-09 07:56:12.402 ERROR 6688 — [ main] : Application run failed
: Error creating bean with name ‘bootstrapImportSelectorConfiguration’: Initialization of bean failed; nested exception is : org/springframework/boot/context/properties/ConfigurationPropertiesBean
at (:601) ~[spring-beans-5.1.:5.1.]
at (:515) ~[spring-beans-5.1.:5.1.]
at $doGetBean
0
(
A
b
s
t
r
a
c
t
B
e
a
n
F
a
c
t
o
r
y
.
j
a
v
a
:
320
)
[
s
p
r
i
n
g
−
b
e
a
n
s
−
5.1.9.
R
E
L
E
A
S
E
.
j
a
r
:
5.1.9.
R
E
L
E
A
S
E
]
a
t
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
b
e
a
n
s
.
f
a
c
t
o
r
y
.
s
u
p
p
o
r
t
.
D
e
f
a
u
l
t
S
i
n
g
l
e
t
o
n
B
e
a
n
R
e
g
i
s
t
r
y
.
g
e
t
S
i
n
g
l
e
t
o
n
(
D
e
f
a
u
l
t
S
i
n
g
l
e
t
o
n
B
e
a
n
R
e
g
i
s
t
r
y
.
j
a
v
a
:
222
)
[
s
p
r
i
n
g
−
b
e
a
n
s
−
5.1.9.
R
E
L
E
A
S
E
.
j
a
r
:
5.1.9.
R
E
L
E
A
S
E
]
a
t
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
b
e
a
n
s
.
f
a
c
t
o
r
y
.
s
u
p
p
o
r
t
.
A
b
s
t
r
a
c
t
B
e
a
n
F
a
c
t
o
r
y
.
d
o
G
e
t
B
e
a
n
(
A
b
s
t
r
a
c
t
B
e
a
n
F
a
c
t
o
r
y
.
j
a
v
a
:
318
)
[
s
p
r
i
n
g
−
b
e
a
n
s
−
5.1.9.
R
E
L
E
A
S
E
.
j
a
r
:
5.1.9.
R
E
L
E
A
S
E
]
a
t
o
r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y
:
j
a
v
a
.
l
a
n
g
.
C
l
a
s
s
N
o
t
F
o
u
n
d
E
x
c
e
p
t
i
o
n
:
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
b
o
o
t
.
c
o
n
t
e
x
t
.
p
r
o
p
e
r
t
i
e
s
.
C
o
n
f
i
g
u
r
a
t
i
o
n
P
r
o
p
e
r
t
i
e
s
B
e
a
n
a
t
j
a
v
a
.
n
e
t
.
U
R
L
C
l
a
s
s
L
o
a
d
e
r
.
f
i
n
d
C
l
a
s
s
(
U
R
L
C
l
a
s
s
L
o
a
d
e
r
.
j
a
v
a
:
381
)
[
n
a
:
1.8.
0
1
81
]
a
t
j
a
v
a
.
l
a
n
g
.
C
l
a
s
s
L
o
a
d
e
r
.
l
o
a
d
C
l
a
s
s
(
C
l
a
s
s
L
o
a
d
e
r
.
j
a
v
a
:
424
)
[
n
a
:
1.8.
0
1
81
]
a
t
s
u
n
.
m
i
s
c
.
L
a
u
n
c
h
e
r
0(:320) ~[spring-beans-5.1.:5.1.] at (:222) ~[spring-beans-5.1.:5.1.] at (:318) ~[spring-beans-5.1.:5.1.] at (:199) ~[spring-beans-5.1.:5.1.] at (:845) ~[spring-beans-5.1.:5.1.] at (:877) ~[spring-context-5.1.:5.1.] at (:549) ~[spring-context-5.1.:5.1.] at (:744) [spring-boot-2.1.:2.1.] at (:391) [spring-boot-2.1.:2.1.] at (:312) [spring-boot-2.1.:2.1.] at (:140) [spring-boot-2.1.:2.1.] at (:212) [spring-cloud-context-2.2.:2.2.] at (:117) [spring-cloud-context-2.2.:2.2.] at (:74) [spring-cloud-context-2.2.:2.2.] at (:172) [spring-context-5.1.:5.1.] at (:165) [spring-context-5.1.:5.1.] at (:139) [spring-context-5.1.:5.1.] at (:127) [spring-context-5.1.:5.1.] at (:76) [spring-boot-2.1.:2.1.] at (:53) [spring-boot-2.1.:2.1.] at (:342) [spring-boot-2.1.:2.1.] at (:305) [spring-boot-2.1.:2.1.] at (:1215) [spring-boot-2.1.:2.1.] at (:1204) [spring-boot-2.1.:2.1.] at (:11) [classes/:na] Caused by: : org/springframework/boot/context/properties/ConfigurationPropertiesBean at (:94) ~[spring-cloud-context-2.2.:2.2.] at (:414) ~[spring-beans-5.1.:5.1.] at (:1770) ~[spring-beans-5.1.:5.1.] at (:593) ~[spring-beans-5.1.:5.1.] ... 26 common frames omitted Caused by: : at (:381) ~[na:1.8.0_181] at (:424) ~[na:1.8.0_181] at
0(AbstractBeanFactory.java:320) [spring−beans−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring−beans−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) [spring−beans−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) [spring−beans−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:845) [spring−beans−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877) [spring−context−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) [spring−context−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:312)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:140)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:212)[spring−cloud−context−2.2.2.RELEASE.jar:2.2.2.RELEASE]atorg.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:117)[spring−cloud−context−2.2.2.RELEASE.jar:2.2.2.RELEASE]atorg.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:74)[spring−cloud−context−2.2.2.RELEASE.jar:2.2.2.RELEASE]atorg.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)[spring−context−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)[spring−context−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)[spring−context−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127)[spring−context−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:76)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:53)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:342)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:305)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:1215)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:1204)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atcom.chaochao.shopmall.product.ProductApplication.main(ProductApplication.java:11)[classes/:na]Causedby:java.lang.NoClassDefFoundError:org/springframework/boot/context/properties/ConfigurationPropertiesBeanatorg.springframework.cloud.context.properties.ConfigurationPropertiesBeans.postProcessBeforeInitialization(ConfigurationPropertiesBeans.java:94) [spring−cloud−context−2.2.2.RELEASE.jar:2.2.2.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:414) [spring−beans−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1770) [spring−beans−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) [spring−beans−5.1.9.RELEASE.jar:5.1.9.RELEASE]...26commonframesomittedCausedby:java.lang.ClassNotFoundException:org.springframework.boot.context.properties.ConfigurationPropertiesBeanatjava.net.URLClassLoader.findClass(URLClassLoader.java:381) [na:1.8.0181]atjava.lang.ClassLoader.loadClass(ClassLoader.java:424) [na:1.8.0181]atsun.misc.Launcher(:349) ~[na:1.8.0_181]
at (:357) ~[na:1.8.0_181]
… 30 common frames omitted
2020-06-09 07:56:12.405 ERROR 6688 — [ main] : Application run failed
: Error creating bean with name ‘bootstrapImportSelectorConfiguration’: Initialization of bean failed; nested exception is : org/springframework/boot/context/properties/ConfigurationPropertiesBean
at (:601) ~[spring-beans-5.1.:5.1.]
at (:515) ~[spring-beans-5.1.:5.1.]
at $doGetBean
0
(
A
b
s
t
r
a
c
t
B
e
a
n
F
a
c
t
o
r
y
.
j
a
v
a
:
320
)
[
s
p
r
i
n
g
−
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0
1
81
]
a
t
j
a
v
a
.
l
a
n
g
.
C
l
a
s
s
L
o
a
d
e
r
.
l
o
a
d
C
l
a
s
s
(
C
l
a
s
s
L
o
a
d
e
r
.
j
a
v
a
:
424
)
[
n
a
:
1.8.
0
1
81
]
a
t
s
u
n
.
m
i
s
c
.
L
a
u
n
c
h
e
r
0(:320) ~[spring-beans-5.1.:5.1.] at (:222) ~[spring-beans-5.1.:5.1.] at (:318) ~[spring-beans-5.1.:5.1.] at (:199) ~[spring-beans-5.1.:5.1.] at (:845) ~[spring-beans-5.1.:5.1.] at (:877) ~[spring-context-5.1.:5.1.] at (:549) ~[spring-context-5.1.:5.1.] at (:744) [spring-boot-2.1.:2.1.] at (:391) [spring-boot-2.1.:2.1.] at (:312) [spring-boot-2.1.:2.1.] at (:140) ~[spring-boot-2.1.:2.1.] at (:212) ~[spring-cloud-context-2.2.:2.2.] at (:117) ~[spring-cloud-context-2.2.:2.2.] at (:74) ~[spring-cloud-context-2.2.:2.2.] at (:172) ~[spring-context-5.1.:5.1.] at (:165) ~[spring-context-5.1.:5.1.] at (:139) ~[spring-context-5.1.:5.1.] at (:127) ~[spring-context-5.1.:5.1.] at (:76) ~[spring-boot-2.1.:2.1.] at (:53) ~[spring-boot-2.1.:2.1.] at (:342) [spring-boot-2.1.:2.1.] at (:305) [spring-boot-2.1.:2.1.] at (:1215) [spring-boot-2.1.:2.1.] at (:1204) [spring-boot-2.1.:2.1.] at (:11) [classes/:na] Caused by: : org/springframework/boot/context/properties/ConfigurationPropertiesBean at (:94) ~[spring-cloud-context-2.2.:2.2.] at (:414) ~[spring-beans-5.1.:5.1.] at (:1770) ~[spring-beans-5.1.:5.1.] at (:593) ~[spring-beans-5.1.:5.1.] ... 26 common frames omitted Caused by: : at (:381) ~[na:1.8.0_181] at (:424) ~[na:1.8.0_181] at
0(AbstractBeanFactory.java:320) [spring−beans−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring−beans−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) [spring−beans−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) [spring−beans−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:845) [spring−beans−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877) [spring−context−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) [spring−context−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:312)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:140) [spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:212) [spring−cloud−context−2.2.2.RELEASE.jar:2.2.2.RELEASE]atorg.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:117) [spring−cloud−context−2.2.2.RELEASE.jar:2.2.2.RELEASE]atorg.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:74) [spring−cloud−context−2.2.2.RELEASE.jar:2.2.2.RELEASE]atorg.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) [spring−context−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) [spring−context−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) [spring−context−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) [spring−context−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:76) [spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:53) [spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:342)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:305)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:1215)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:1204)[spring−boot−2.1.8.RELEASE.jar:2.1.8.RELEASE]atcom.chaochao.shopmall.product.ProductApplication.main(ProductApplication.java:11)[classes/:na]Causedby:java.lang.NoClassDefFoundError:org/springframework/boot/context/properties/ConfigurationPropertiesBeanatorg.springframework.cloud.context.properties.ConfigurationPropertiesBeans.postProcessBeforeInitialization(ConfigurationPropertiesBeans.java:94) [spring−cloud−context−2.2.2.RELEASE.jar:2.2.2.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:414) [spring−beans−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1770) [spring−beans−5.1.9.RELEASE.jar:5.1.9.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) [spring−beans−5.1.9.RELEASE.jar:5.1.9.RELEASE]...26commonframesomittedCausedby:java.lang.ClassNotFoundException:org.springframework.boot.context.properties.ConfigurationPropertiesBeanatjava.net.URLClassLoader.findClass(URLClassLoader.java:381) [na:1.8.0181]atjava.lang.ClassLoader.loadClass(ClassLoader.java:424) [na:1.8.0181]atsun.misc.Launcher(:349) ~[na:1.8.0_181]
at (:357) ~[na:1.8.0_181]
… 30 common frames omitted
Process finished with exit code 1
搞了一晚上的时间,也参照了很多帖子,但都没有解决问题,报错显示是因为类找不到,后来看到有帖子说是可能是因为springboot和springcloud版本不兼容的问题,才恍然大悟,在新建项目时默认选择了springboot的版本为2.3.0,springcloud的版本为Hoxton.SR3,但后来教程上看到springboot的版本为2.1.8,为保证因为版本不一致导致出问题,就在把2.3.0改成了2.1.8,但springcloud的版本还是以前的版本,后把springcloud的版本换成了Greenwich.SR3,就能正常启动了。
springboot的版本和springcloud的版本一定要对应好,一般用idea新建工程时选定就可以了,也具体可以参看/u012060033/article/details/104269423