fix dev generator for detecting spring