解决方法:用spring properties editor编辑器打开对应文档,需先安装spring tools插件;

1、选中配置文件

2、右键用spring properties editor编辑器打开对应文档

3、提示成功