具体报错:Exception in thread "main" java.lang.AbstractMethodError: org.springframework.boot.context.config.ConfigFileApplicationListener.supportsSourceType(Ljava/lang/Class;)Z
原因:
在pom.xml文件中
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.4.RELEASE</version> <!-- 2.1.5 -->
<relativePath/> <!-- lookup parent from repository -->
</parent>
版本冲突,将2.1.5换成2.0.4解决问题
项目本身为2.1.3.RELEASE
更换1.5.9RELEASE版本正常
目前不知何原因,都说的jar版本冲突,
布置过两个一样的版本,第一个2.1.3RELEASE无异常,第二个出问题还1.5.9.RELEASE正常