There are two different Javas. JavaSE and JavaEE/Spring. Same programming language, but two kinds of programmers don't understand a word when talking to each other.