org.springframework.boot.builder.SpringApplicationBuilder.<init>

新建了一个Spring cloud项目,启动时报错org.springframework.boot.builder.SpringApplicationBuilder.<init>

翻阅资料得知,是由于Spring boot版本和spring cloud版本不兼容导致的,由于当前我使用的是Spring boot 2.0,对应的应该使用Spring cloud 的Finchley版本。

具体对应兼容关系如下:

Spring Cloud Spring Boot

Finchley

兼容Spring Boot 2.0.x,不兼容Spring Boot 1.5.x
Dalston和Edgware 兼容Spring Boot 1.5.x,不兼容Spring Boot 2.0.x
Camden 兼容Spring Boot 1.4.x,也兼容Spring Boot 1.5.x
Brixton 兼容Spring Boot 1.3.x,也兼容Spring Boot 1.4.x
Angel 兼容Spring Boot 1.2.x

原文地址:https://www.cnblogs.com/miaoying/p/9286815.html

时间: 2024-08-30 16:16:03

org.springframework.boot.builder.SpringApplicationBuilder.<init>的相关文章

java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration$ThymeleafDefaultConfiguration.templateEngine

2018-12-25 22:58:28.023 DEBUG 2204 --- [ restartedMain] c.c.c.a.CrawlerAutohomeApplication : Running with Spring Boot v2.1.1.RELEASE, Spring v5.1.3.RELEASE 2018-12-25 22:58:28.039 INFO 2204 --- [ restartedMain] c.c.c.a.CrawlerAutohomeApplication : No

Exception in thread &quot;main&quot; java.lang.NoClassDefFoundError: org/springframework/boot/context/embedded/ServletRegistrationBean

异常信息 2017-09-02 18:06:37.223 [main] ERROR o.s.boot.SpringApplication - Application startup failed java.lang.IllegalStateException: Could not evaluate condition on org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration$Endpoint

Spring Boot 引入org.springframework.boot.SpringApplication出错

今天新建的一个spring boot maven项目, 写启动类时发现无法引入SpringApplication, 经查原来是冲突了,我早些时候用了比较低版本的spring boot创建了项目 ,导致电脑用户文件夹下有旧版本的配置,现在用新的版本导致了冲突 ,那么只要删除冲突的老版本,文件夹地址 C:\Users\hanfuqingshi\.m2\repository\org\springframework\boot\spring-boot 下的2.0.0.RELEASE为新版本,而其它的为老版

springaop问题——Cannot subclass final class org.springframework.boot.autoconfigure.AutoConfigurationPackages$BasePackages

问题描述: 在使用springaop对目标对象增强时,若切点的条件过于宽泛就会出现以下异常! 如: @Before("execution(* *(..))") @Before("args(..)") @Before("within(org..*)") ... org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.spr

springboot 配置jpa启动报Error processing condition on org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration.pageableCustomizer

springboot +gradle 配置jpa启动报Error processing condition on org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration.pageableCustomizer 经过一步步查看删选是因为spring-data-jpa包的版本冲突导致. 解决方案: 修改gradle的build.gradle配置文件 a.添加plugin("org.springfram

转:关于java.lang.ClassNotFoundException: org.springframework.boot.SpringApplication的解决

在这个控制板中,出现了这个问题 java.lang.ClassNotFoundException: org.springframework.boot.SpringApplication 虽然明显知道是jar包问题,不管怎么clean怎么的还是没能解决.鼓捣了很久没结果,stackoverflow什么的也翻遍了,依然没找到结果,但是偶然发现另外一个Spring boot项目是可以启动的,对比了一下他们的区别,发现父项目配置的版本不一致,可以启动的是1.3.5版本的,不能启动的是1.4.0版本 解决

Error:(3, 32) java: 程序包org.springframework.boot不存在

 解决方案一: 找同事传一份D:\maven_repository\org\springframework\boot  ,如图所示的位置,添加进去立刻就不报红.我也可以给你发....  解决方案二: 在idea自己的所在项目下如下操作: 步骤一: 步骤二: 等上一会大概一分钟左右,maven自动下载org.springframework.boot,过会就可以在自己的本地仓库找到下载好的当然也就不会报红了. 解决方案三: 手动刷新Maven配置的方法为: (1)右键单击项目: (2)在弹出菜单中选

解决分页插件ClassNotFoundException: org.springframework.boot.bind.RelaxedPropertyResolver

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration': Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateExce

org.springframework.boot.actuate.endpoint.EndpointId cannot be cast to java.lang.String 异常处理

用了spring-boot-starter-actuator 之后出现异常: java.lang.ClassCastException: org.springframework.boot.actuate.endpoint.EndpointId cannot be cast to java.lang.String.详细的异常如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 Failed to instantiate [o