refactor SpringBoot to SpringMVC