fix spring-dedicated compile