spring and thymeleaf upgrades & spring configuration with java classes