MyEclipse 导入项目时出现如下错误,检查过,包的导入都正常
Error!]the type java.lang.object cannot be resolved. it is indirectly referenced from required .class files
找了半天,才发现,原来是jdk的问题,原来是没有导入jdk的包。
也有可能是这个原因:电脑上有多个jdk的版本,这样MyEclipse导入的时候就会出现问题,一般情况下,使用MyEclipse自己带的Jdk版本,我装的是jdk 1.6.013 ,即使重新导入这个也不管用,后面只好用Myeclipse自己带的1.6.0013的版本就好了。
操作步骤:project->properties->Java Bulid Path 将原有的jdk删除?
然后Java Build Path -----> Libraries---->Ad
分享到:
相关推荐
解决The type org.springframework.dao.support.DaoSupport cannot be resolved.bao报错
cocos The import com.loopj cannot be resolved 是缺失了jar包。导入lib文件夹,或者刷新eclipse就好了。
The type org.apache.tools.ant.Task cannot be resolved. It is indirectly referenced from required .class files错误....., 解决办法:在工程中加入此jar包
It is indirectly referenced from required .class > ★BasicNameValuePair cannot be resolved to a type > ★HttpPost cannot be resolved to a type > ★NameValuePair cannot be resolved to a type > ★...
java获取客户端ip(经过多次代理)提示StringUtils cannot be resolved 需要先 import org.apache.commons.lang3.StringUtils; /* 内含 common-lang3.jar commons-lang3-3.9-bin.zip commons-lang3-3.9-src.zip ...
org.apache.commons.lang.exception.NestableRuntimeException cannot be resolved 解决 替换JAR包即可
一、Eclipse提示错误The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files 调试Reflact时,Eclipse一直提示The type java.lang.CharSequence cannot be...
commons-lang3-3.1.jar缺失会引起The import org.apache.commons.lang3 cannot be resolved错误
jce.jar/jsse.jar解决The import javax.crypto cannot be resolved的问题
GreenDAO 数据库升级
导入工程的“The import android cannot be resolved”错误解决方法
commons-lang.jar是日常编程中必不可少的一个jar包,在日常java编程中,经常会使用到commons-lang.jar包,还没有准备commons-lang.jar包的用户可以前来下载使用,这里为大家提供了commons-lang3-3.1.jar
rsslib4j-0.2.jar jar包,解决java报错找不到资源包问题 The import org.gnu cannot be resolved。 报错 import org.gnu.stealthp.rsslib.*; RSSChannel、RSSException、RSSHandler、RSSItem、RSSParser
JSTL 标签 发生 uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application问题时解决方法
Java加密解密字符串找不到 com.sun.crypto.provider.SunJCE() 用到jar包
JSONObject所必须要用到的6个包,他们分别是commons-beanutils-1.7.0.jar、commons-collections-3.1.jar、commons-lang-2.5.jar、commons-logging.jar、ezmorph-1.0.3.jar、json-lib-2.1-jdk15.jar
org.apache.poi JAR包,解决个人的 import org.apache.commons.beanutils.PropertyUtilsBean; import org.apache.commons.lang.StringUtils;..."The import org.apache.poi cannot be resolved"的问题
主要介绍了java eclipse 出现 xxx cannot be resolved to a type 错误解决方法的相关资料,需要的朋友可以参考下
The type org.apache.tools.ant.Task cannot be resolved. It is indirectly referenced from required .class files 部署openfire4.2.1
commons-lang-2.4.jar commons-logging-1.1.jar commons-vfs-20091118-pentaho.jar kettle-core-4.4.0-GA.jar kettle-db-4.4.0-GA.jar kettle-engine-4.4.0-GA.jar log4j-1.2.12.jar logkit-1.0.1.jar servlet-api-...