fix spring boot registry build error
Merge pull request #12 from janstey/fix_build_error