-
NosuchMethodError org.springframework.beans.factory.support.genericBeanDefinition(xxxxx)
-
ClassNotFoundException: org.springframework.boot.SpringApplication
可能冲突的依赖是:
javascript
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
</dependency>
- NosuchMethodError: org.springframework.boot.builder.SpringApplicationBuilder.xxxx
可能出问题的依赖是:
javascript
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-context</artifactId>
</dependency>
- NoClassDefFoundError: org/springframework/core/KotlinDetector
可能出现冲突的依赖是:
javascript
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</dependency>
- NolassDefFoundError: org/springframework/core/NativeDetector (spring-core要么冲突,要么版本低,升级它 )
javascript
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
</dependency>