Upgrade thymleaft support to spring4