fix spring-mvc configuration issue