吐槽下intellij idea 2018.3这个版本

众所周知Springboot的@Service,@Controller,@Component,@Repository,@Configuration都是能扫描的,这些标签功能有完全一致的也有有区别的此处不细表,过去我的配置类都是@Configuration+@ConfigurationProperties,结果更新后给我标红了,倒不是不让编译,就是给我标红,一定得@Component+@ConfigurationProperties才行,怎么看前者都比后者更明确吧,况且@Configuration和@Component还是有点小区别的。另外我测了下,除了@Configuration不行,@Service等一系列通通标红,这绝壁是bug了。

原文地址:https://www.cnblogs.com/cielosun/p/10008525.html