idea常见错误
- 错误1:
private field ‘xxx‘ is never assigned
按Alt+Enter快捷键,选择第2项
参考:https://blog.csdn.net/shi_hong_fei_hei/article/details/88814070
- 错误2:
启动时报错,不能找到主启动类
# 清除缓存并重启
File–>Invalidate Cache/Restart…
private field ‘xxx‘ is never assigned
按Alt+Enter快捷键,选择第2项
参考:https://blog.csdn.net/shi_hong_fei_hei/article/details/88814070
启动时报错,不能找到主启动类
# 清除缓存并重启
File–>Invalidate Cache/Restart…