[spring configuration] -fix resourcesConfig, refactor index.html miss spelling file extension