martin codey wrote:Do you mean I should do something like this
And how do i know what version should I use?
You should drop them all. Your parent POM is the spring-boot-starter-parent. This defines all the Spring, Spring Boot,
Servlet and JSTL dependencies in its dependencyManagement section (indirectly). All you need to do is add the dependency using the groupId and artifactId, and omit the version completely.
I'm not sure this will solve the issue though, as the error shows that it's not the version that's undefined, but the artifactId.