[Java报错]常见报错汇总
2015-06-01 21:31
429 查看
1.1 @Override 致错:The method execute() of type UploadAction must override or implement a supertype method
解决办法:
因为你的Compiler 是jdk1.5,只要把它改为 1.6。方法:window ->preferences… -> java -> Compiler:Compiler compliance level : 6.0
把项目的JRE变成6.0:项目右键->build path->configure build path->java Compiler(左边那排中) ->在右边的Compiler compliance level 修改版本为6.0
1.2 报错:Description Resource Path Location TypeJava compiler level does not match the version of the installed Java project facet. shiro_learn Unknown Faceted Project Problem (Java Version Mismatch)
解决办法
项目上右键Properties–> 搜索Project Facets –>java版本调到与jdk和compiler相同的版本
![](https://img-blog.csdn.net/20150601214627825)
参考文档
参考文档1:Java compiler level does not match解决方法
解决办法:
因为你的Compiler 是jdk1.5,只要把它改为 1.6。方法:window ->preferences… -> java -> Compiler:Compiler compliance level : 6.0
把项目的JRE变成6.0:项目右键->build path->configure build path->java Compiler(左边那排中) ->在右边的Compiler compliance level 修改版本为6.0
1.2 报错:Description Resource Path Location TypeJava compiler level does not match the version of the installed Java project facet. shiro_learn Unknown Faceted Project Problem (Java Version Mismatch)
解决办法
项目上右键Properties–> 搜索Project Facets –>java版本调到与jdk和compiler相同的版本
参考文档
参考文档1:Java compiler level does not match解决方法
相关文章推荐
- java对世界各个时区(TimeZone)的通用转换处理方法(转载)
- java-注解annotation
- java-模拟tomcat服务器
- java-用HttpURLConnection发送Http请求.
- java-WEB中的监听器Lisener
- Android IPC进程间通讯机制
- Android Native 绘图方法
- Android java 与 javascript互访(相互调用)的方法例子
- 介绍一款信息管理系统的开源框架---jeecg
- 聚类算法之kmeans算法java版本
- java实现 PageRank算法
- PropertyChangeListener简单理解
- 插入排序
- 冒泡排序
- 堆排序
- 快速排序
- 二叉查找树
- [原创]java局域网聊天系统