JavaShuo
栏目
标签
Eclipse导入新项目后String、Object等各种java本该有的类型出现报错,如:String cannot be resolved to a type
时间 2021-01-06
标签
JAVA
栏目
Eclipse
繁體版
原文
原文链接
导入项目出现这样的错误,主要是因为导入项目的JDK版本和当前电脑的JDK版本不匹配,如我的电脑里面装的是JDK1.8,但是导入的项目是JDK1.7,所以导致这样的情况。 解决: 1、右键项目选择Properties打开Properties设置界面,或Alt+Enter 2、选择Java Build Path,现在Libraries,点击要替换的jar包,选择edit 3、选择默认的JDK,保存
>>阅读原文<<
相关文章
1.
Eclipse报错 : String cannot be resolved to a type
2.
MyEclipse报错:String cannot be resolved to a type
3.
String cannot be resolved to a type
4.
springboot项目报错:String cannot be resolved to a type;Implicit super constructor Object()is undefine。。。
5.
关于Eclipse中导入Java项目总是报错“XXX cannot be resolved to a type“比如”String cannot be resolved to a type“的解决方案
6.
xxx cannot be resolved to a type
7.
cannot be resolved to a type
8.
javax.servlet.jsp cannot be resolved to a type
9.
HttpServlet cannot be resolved to a type
10.
在eclipse里导入maven项目时出现错误“Autowired cannot be resolved to a type”
更多相关文章...
•
Eclipse 创建 Java 项目
-
Eclipse 教程
•
Eclipse 关闭项目
-
Eclipse 教程
•
Kotlin学习(二)基本类型
•
☆基于Java Instrument的Agent实现
相关标签/搜索
string
String类
项目报错
68.string
string&intern
1.string
3.string
5.string
c++string
string#intern
Java
Eclipse
红包项目实战
Eclipse 教程
PHP教程
java
后端
Java 8
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
「插件」Runner更新Pro版,帮助设计师远离996
2.
错误 707 Could not load file or assembly ‘Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKe
3.
Jenkins 2018 报告速览,Kubernetes使用率跃升235%!
4.
TVI-Android技术篇之注解Annotation
5.
android studio启动项目
6.
Android的ADIL
7.
Android卡顿的检测及优化方法汇总(线下+线上)
8.
登录注册的业务逻辑流程梳理
9.
NDK(1)创建自己的C/C++文件
10.
小菜的系统框架界面设计-你的评估是我的决策
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
Eclipse报错 : String cannot be resolved to a type
2.
MyEclipse报错:String cannot be resolved to a type
3.
String cannot be resolved to a type
4.
springboot项目报错:String cannot be resolved to a type;Implicit super constructor Object()is undefine。。。
5.
关于Eclipse中导入Java项目总是报错“XXX cannot be resolved to a type“比如”String cannot be resolved to a type“的解决方案
6.
xxx cannot be resolved to a type
7.
cannot be resolved to a type
8.
javax.servlet.jsp cannot be resolved to a type
9.
HttpServlet cannot be resolved to a type
10.
在eclipse里导入maven项目时出现错误“Autowired cannot be resolved to a type”
>>更多相关文章<<