Spring mvc migration