首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

解决The file XXX can not be found.Please check the location and try again

2012-11-25 
解决The file XXX can not be found.Please check the location andtry again!环境:MyEclipse6.6起因:在一

解决The file XXX can not be found.Please check the location and try again!
环境:MyEclipse6.6
起因:在一个页面上使用了简单框架,示例如下

<%@ page contentType="text/html; charset=gb2312" language="java"%><html><head><title>test</title></head><frameset cols="150,*" >    <frame name="left" src="<%=request.getContextPath()%>/a.jsp" target="right" frameborder="0" >    <frame name="right" src="<%=request.getContextPath()%>/b.jsp" frameborder="0" ></frameset></html>


因为该页面所指向的页面路径不对,便进行手动修改,修改时却出现了很烦的问题,输入一个字就弹出一个提示框“the file XXX can not be found.Please check the location and try again.”

简直让工作无法进行,google了一下,网上说是平台的原因,反正不清楚,解决方案如下:

关闭它的jsp图形模式。
打开MyEclipse 工具栏Window->Preference->General->Editors->File Associations,选中JPS,把对应的Associated editors中的MyEclipse Visual JSP Editor移除;

回到编辑器界面,右键点击要打开的页面,选择Open with->MyEclipse JSP Editors即可。

再次修改frame src的路径,再也没有烦人的对话框弹出了。

热点排行