Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
486 views
in Technique[技术] by (71.8m points)

java - spring boot classnotfound org.springframework.boot.Bootstrapper while staring application

I am just starting a spring boot project with eureka server as mentioned in https://dzone.com/articles/spring-boot-microservices-building-microservices-a , While running the project getting below exception and the application is stoped.

java.lang.ClassNotFoundException: org.springframework.boot.Bootstrapper

I am using Gradle with springboot 2.3.5.RELEASE version.

Does any one help me why i am seeing this error.

question from:https://stackoverflow.com/questions/65917014/spring-boot-classnotfound-org-springframework-boot-bootstrapper-while-staring-ap

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

There is a conflict between SpringBoot starter web 2.3.5.RELEASE vs spring-cloud-starter-netflix-eureka-server:3.0.0

After changing SpringBoot starter web 2.4.2, all started working fine.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...