The import java.util cannot be resolved
2013-07-19 14:38
316 查看
The import java.util cannot be resolved
原因:这是由于你的项目buildpath不对
解决方案:右键项目-------buildpath--------最下面那个configuration 的选择libraries找到JRE(这个时候你会发现这个jre前面有!或者是红X)选中remove掉重新为该项目选择一个JRE选中项目,project----clean
java.lang.UnsupportedClassVersionError: Bad version number in .class file异常
部署工程时也出现过因为版本不同引起的问题,那时我们用的IDE的编译器是JDK5.0,而那台Linux装的是JDK6.0,部署后发现很多功能都出错,看来有些东西还是得注意一下啊。
在myEclipse中改变编译器的方法:Project->Properties->Java Compiler->Configure Workspace Setting,在弹出的页面中可以进行设置。
The import org.apache cannot be resolved
What IDE are you using? If it's eclipse, right click on the project -> Build Path -> Configure Build Path -> Libraries -> Add External Jar's
原因:这是由于你的项目buildpath不对
解决方案:右键项目-------buildpath--------最下面那个configuration 的选择libraries找到JRE(这个时候你会发现这个jre前面有!或者是红X)选中remove掉重新为该项目选择一个JRE选中项目,project----clean
java.lang.UnsupportedClassVersionError: Bad version number in .class file异常
部署工程时也出现过因为版本不同引起的问题,那时我们用的IDE的编译器是JDK5.0,而那台Linux装的是JDK6.0,部署后发现很多功能都出错,看来有些东西还是得注意一下啊。
在myEclipse中改变编译器的方法:Project->Properties->Java Compiler->Configure Workspace Setting,在弹出的页面中可以进行设置。
The import org.apache cannot be resolved
What IDE are you using? If it's eclipse, right click on the project -> Build Path -> Configure Build Path -> Libraries -> Add External Jar's
相关文章推荐
- The import java.util cannot be resolved
- The import java.util.Base64 cannot be resolved问题
- 错误:The import java.util.Objects cannot be resolved
- The import java.util cannot be resolved
- The import java.util cannot be resolved问题
- 为什么新安装个Myeclipse,导入以前做的程序后程序里好多错,提示The import java.util cannot be resolved
- <<< java异常The import java.util cannot be resolved
- Android : The import java.util cannot be resolved
- 新安装个Myeclipse,导入以前做的程序后程序里好多错,提示The import java.util cannot be resolved
- 解决 the import java.util cannot be resolved
- Eclipse: the import java.util cannot be resolved
- The import java.util cannot be resolved
- The import java.util cannot be resolved
- The import java.util cannot be resolved
- The import java.util cannot be resolved
- Java-The import java.util cannot be resolved
- Myeclipse调错:The type java.util.Map$Entry cannot be resolved.
- Tomcat7在jdk8下报错:The type java.util.Map$Entry cannot be resolved
- 关于有时候导入maven项目时候报错(有红色叹号,类中导入的包提示"the import java.util cannot be resolve,")
- The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class fi