Revert "add some configs to spring config"

This reverts commit 2e75510b4258c4e0a17e5f045ebb61ee7a3fd931.