Maven项目中java类报错-Cannot resolve symbol
来源:互联网 发布:mysql存储过程for循环 编辑:程序博客网 时间:2024/06/14 01:39
电脑蓝屏了,强制重启之后再打开IDEA里面的项目,所有Java类文件都在报Cannot resolve symbo错误,可以确定所有依赖的包都有引用且jar包没有冲突。
经查询找到这个解决方法:
在IDEA中 点击 File -> Invalidate Caches/Restart,清理了缓存重启IDEA就解决了
0 0
- Maven项目中java类报错-Cannot resolve symbol
- SpringData-jpa maven项目 cannot resolve symbol 'JdbcTemplate' 飘红
- IntelliJ IDEA 中项目 Cannot Resolve symbol **解决方案
- cannot resolve symbol 'XXXX'
- cannot resolve symbol 'simple_list_item_1'
- cannot resolve symbol R
- cannot resolve symbol r
- Cannot resolve symbol
- Cannot resolve symbol *** 解决办法
- cannot resolve symbol r
- cannot resolve symbol controller
- cannot resolve symbol R
- idea cannot resolve symbol
- Cannot resolve symbol 解决方案
- Cannot resolve symbol 'SpringApplication'
- Cannot resolve symbol 'SpringApplication'
- cannot resolve symbol
- cannot resolve symbol 'Bundle'
- mouseup 事件丢失的原因和解决办法
- Android插件化基础之加载未安装的apk资源
- Creates a pipe for reading and writing的例子程序
- 三范式与反三范式
- 给定一个数字n, 等概率输出1-n的值,要求最后全都输出一遍
- Maven项目中java类报错-Cannot resolve symbol
- 【JAVA】数组搜索查询字符内容
- 流媒体相关 概念
- C++ 标准库中函数所对应的头文件
- 3.8 JS网址编码&&缓动动画公式
- recyclerview 使用注意
- JETSON TK1 镜像拷贝和烧写
- 《直播疑难杂症排查》:播放卡顿
- ubuntu14.04下安装zookeeper3.4.9