Removed invalid properties from pom and switched to use the correct spring features