Today i just tried to build my first web Java application. I follow the instructions from this link: https://docs.spring.io/spring-boot/docs/1.0.2.RELEASE/reference/html/getting-started-first-application.html

Everything looks good until i reach to step 10.4 ,  i got this error

Some recommend that we need to add this in to <project> tag

It works for some people , but it’s not working for me. Finally i found that i need to add this

More detail is from this url: https://www.baeldung.com/maven-java-version

This is my final pom.xml