the selection cannot be run on any server
来源:互联网 发布:门板雕刻软件 编辑:程序博客网 时间:2024/05/16 08:55
今天帮同学查看程序的时候,在导入程序后,关闭了jsp和js的验证后 运行程序出现问题,无法运行 弹窗提示
the selection cannot be run on any server
解决:
其实这个是Dynamic web module version和你的tomcat支持的不匹配
version版本号就是在新建项目时候所选择的,3.0或2.5
修改项目版本:
用eclipse开发的servlet项目不能加载到tomcat6.0服务器,原因是:servlet的版本高了
<installed facet="jst.web" version="3.0"/> 只要将version="3.0"改成version="2.5",然后重启eclipse即可!!!
具体操作步骤:
找到你的eclipse:D:\eclipse\workspace-jee\项目名称\.settings\org.eclipse.wst.common.project.facet.core.xml这个配置文件,将<installed facet="jst.web" version="3.0"/> 只要将version="3.0"改成version="2.5",然后重启eclipse即可!!!
或者下载高版本的Tomcat (Tomcat 7.0以上)。
但是有的时候按照上述方法直接修改之后的话, 会报告找不到org.eclipse.wst.common.project.facet.core.xml该文件错误, 所以最稳妥的方法就是在创建该Dynamic web project的时候就选择低于3.0的版本.
用eclipse开发的servlet项目不能加载到tomcat6.0服务器,原因是:servlet的版本高了
<installed facet="jst.web" version="3.0"/> 只要将version="3.0"改成version="2.5",然后重启eclipse即可!!!
具体操作步骤:
找到你的eclipse:D:\eclipse\workspace-jee\项目名称\.settings\org.eclipse.wst.common.project.facet.core.xml这个配置文件,将<installed facet="jst.web" version="3.0"/> 只要将version="3.0"改成version="2.5",然后重启eclipse即可!!!
或者下载高版本的Tomcat (Tomcat 7.0以上)。
但是有的时候按照上述方法直接修改之后的话, 会报告找不到org.eclipse.wst.common.project.facet.core.xml该文件错误, 所以最稳妥的方法就是在创建该Dynamic web project的时候就选择低于3.0的版本.
阅读全文
1 0
- The selection cannot be run on any server
- the selection cannot be run on any server解决办法
- The selection cannot be run on any server解决办法
- the selection cannot be run on any server
- the selection cannot be run on any server 原因
- The select cannot be run on any server 报错问题
- A server error occured on the current command. The results, if any, should be discarded.
- Xcode Cannot Run on the Selected Destination
- Cannot run on the selected destination
- Eureka报异常Cannot execute request on any known server
- Run JavaScript files on the server side
- MyEclipse: The Table cannot be found on the database
- The Table cannot be found on the database解决方法
- MyEclipse Error: The Table cannot be found on the database
- MyEclipse Error: The Table cannot be found on the database
- the selection cannot be launched ,and there are no recent launches
- the selection cannot be launched,and there are no recent launches
- Java运行时报错,the selection cannot be launched,and there are no recent launches
- 【学习笔记】卷积神经网络--一文读懂卷积神经网络
- 5.19-Python-语言及其应用-笔记-list
- Linux 串口编程<四> 串口设备程序开发
- 三、Mat对象的-属性
- lua API 小记——— lua虚拟机初始化)
- the selection cannot be run on any server
- Attempt to invoke virtual method 'java.lang.String android.content.Intent.getStringExtra解决方案
- Java面试
- 四、线性混合、调整图像的亮度与对比度
- Python正则表达式指南
- Anniversary party HDU
- Day 2 操作系统
- bc高精度函数
- 五、卷积与傅立叶变换