簡體   English   中英

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

[英]spring boot classnotfound org.springframework.boot.Bootstrapper while staring application

https://dzone.com/articles/spring-boot-microservices-building-microservices-a中所述,我剛剛使用 eureka 服務器啟動 spring 啟動項目,運行項目時遇到異常並且應用程序停止。

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

我正在使用 Gradle 和 springboot 2.3.5.RELEASE 版本。

有沒有人幫助我為什么我看到這個錯誤。

SpringBoot starter web 2.3.5.RELEASE 與 spring-cloud-starter-netflix-eureka-server:3.0.0 之間存在沖突

更改 SpringBoot 啟動器 web 2.4.2 后,一切正常。

使用更新的依賴項創建一個新項目並復制此版本並添加到您的項目中

在此處輸入圖像描述

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM