Multiple Errors when starting server with Spring Boot

I am new to spring boot. I created a simple spring-boot application and faced same issue. I just updated the parent version from 1.4.3 to 1.5.3 in pom and it worked!

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

Note: I just wanted you to know that i am using java version 10.


If you are certain that you have all the proper dependencies defined in the pom.xml it might be a faulty jar or pom in your local maven repository.

You can purge the local repository using the following command

mvn dependency:purge-local-repository

This will remove all the projects dependencies from the local repository en when rebuilding again (mvn package) the dependencies will be resolved and download again.

You can also specify some additional flags (see this question and the official documentation).