需要idea安装spring assistant。
安装位置:
file--->setting-->plugin--->browse repositories 搜索spring assistant安装即可