myeclipse:报String cannot be resolved to a type错误
来源:互联网 发布:飞鹰网络电视ios 编辑:程序博客网 时间:2024/05/22 05:13
原因:卸载并从新安装了jdk 而且从新安装的jdk路径和原路径又不相同时就会报这个错误,或者重做了系统也会出现这个错误,这样导致你的IDE找不到以前设定的JDK了,然后你所有的jsp页面都会报错
解决方法:
1.window-->preferences-->java-->Installed JREs-->Add 增加你要用的jdk
2.window-->preferences-->java-->compiler,将level选为对应的版本,1.5或1.6
然后在在原有的项目上右键:properties-->java build path-> Libraries->JRE System Library ->edit->alternate jre ->installed jres 选择你目前安装的jdk路径
- myeclipse:报String cannot be resolved to a type错误
- MyEclipse: String cannot be resolved to a type
- eclipse报HttpServletRequest cannot be resolved to a type错误
- 错误:String cannot be resolved to a type:
- myeclipse cannot be resolved to a type
- String cannot be resolved to a type
- String cannot be resolved to a type
- "String cannot be resolved to a type"
- String cannot be resolved to a type
- String cannot be resolved to a type
- cannot be resolved to a type错误
- eclipse,myeclipse导入工程报:javax.servlet.jsp.JspException cannot be resolved to a type
- myeclipse不是eclipse,servlet 报错 HttpServlet cannot be resolved to a type
- Myeclipse 开发环境下,出现提示 String cannot be resolved to a type
- myeclipse 开发环境下,提示 String cannot be resolved to a type .
- myeclipse 开发环境下,提示 String cannot be resolved to a type
- Myeclipse/Eclipse下JSP文件出现string cannot be resolved to a type的解决方法
- MyEclipse中出现“HttpServletRequest cannot be resolved to a type”的错误
- mysql oracle中字符串连接
- 电池管理系统及其发展方向 动力电池
- ORACLE分页的存储过程
- 用 cmake 构建Qt工程(对比qmake进行学习)
- CSS颜色代码大全
- myeclipse:报String cannot be resolved to a type错误
- ubuntu10.04 使用drcom联网记录
- webservice client 【客户端】
- 工作五年内人员就业情况调查,耽误2分钟,帮忙填一下,谢谢
- .shtml文件不能显示的解决办法
- ASP.NET 中TextBox设置ReadOnly="true" 无法取到值的做法(转)
- tomcat虚拟目录的配置方法
- Linux常用文件重定向命令
- 无奈的感情