modify project that it can start by spring config