set up spring mvc environment