IDEA @SpringBootApplication报错原因【已经解决】
首先pon文件报错 version版本号报错,@SpringBootApplication报错(刚刚解决,来博客记录一下,所以没看见报错,耐心跟着步骤走就能解决了)
首先找到自己的maven本地仓库 如下:
repository\org\springframework\boot
然后把spring-boot-actuator下的目录全部删掉
然后
点击clean,
点击install
返回 idea
将version里面的版本换成spring-boot-actuator里面的版本(自己对应自己有的版本)
如下
然后再一次
点击clean,
点击install