IDEA 不能识别 @Slf4j,@Getter ,@Setter注解
1.1 解决办法 Intellij IDEA需要安装lombok插件,插件中心找到Lombok 插件。 安装完 Lombok 插件,重启Intellij idea,问题解决。 1.2 @Getter ,@Setter注解的作用项目中经常使用bean,entity等类,绝大部分数据类类中都需要get、set、toString、equals和hashCode方法,尽管IDE...
原创
2019-04-11 16:58:14 ·
2884 阅读 ·
0 评论