myeclipse改成eclipse需要注意的几点
2013-03-10 02:15
232 查看
在MyEclipse中写的工程引入到eclipse下出现错误 发现import javax.servlet.http.HttpSession无法引入
加入tomcat的jar包,右击项目->build path-add libraries->server Runtime->选择要导入的tomcat 就可以了,如果没有选项,你得配置tomcat
Access restriction: The type Resource is not accessible due to restriction on required library
Eclipse 默认把这些受访问限制的API设成了ERROR。只要把Windows-Preferences-Java-Complicer- Errors/Warnings里面的Deprecated and restricted API中的Forbidden references(access rules)选为Warning就可以编译通过。
相关文章推荐
- 本地Eclipse访问虚拟机Hadoop需要注意的几点
- eclipse hibernate自动生成需要注意的几点
- Windows+eclipse+Android+java+api+opencv使用需要注意的几点
- 打包eclipse swt程序需要注意的几点事项
- Eclipse 安装部署 maven 的 web 工程 需要注意的几点问题
- php rmdir()删除目录的需要注意的几点
- myeclipse或者Eclipse javaee1.6 时报JAX-RS2.0 需要java 1.7 的错误
- 浅谈php安全性需要注意的几点事项
- Android和Ios测试的区别及测试需要注意的几点
- VS2005中 GridView导入Excel的导入需要注意的几点
- 总结在使用JPA时需要注意的几点
- MYSQL索引建立需要注意以下几点细节
- 老项目运行在Eclipse,需要添加tomcat运行,而不是maven中引入tomcat插件,将此项目引入IDEA中需要注意的问题
- python基础——需要注意的几点
- WEB前端开发 » WAP页面制作需要注意的几点
- sql2005创建存储过程(需要注意的几点)
- pcb电路板中同时存在高压和低压时布线需要注意的几点
- Windows下配置Visualsvn Server时需要注意的几点事项
- 配置OSPF时需要注意的几点
- 移动互联网项目风险规避需要注意的几点