add spring mvc java config
update spring mvc config