When starting with Spring, it helps if you have some background in Java EE. Spring uses similar concepts (e.g. CDI), and in some cases even the exact same APIs (e.g. JPA). However, it's not necessary: you can learn Spring without ever having done anything in Java EE.