Solve the problem of java: Unable to access org.springframework.boot.SpringApplication~

The error description is as follows:

Insert image description here

Reason for the error: It is caused by inconsistent version number matching. 61.0 corresponds to jdk17 and 52.0 corresponds to jdk8 .

My local java is java8, so I need to lower the version to solve this problem.

<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.5.RELEASE</version>

Guess you like

Origin blog.csdn.net/m0_64365419/article/details/132915201