the selection cannot be run on any server 原因
来源:互联网 发布:蓝桥杯软件大赛 编辑:程序博客网 时间:2024/06/06 01:38
今天调试程序的时候,刚好出现 the selection cannot be run on any server 的问题,在准备开启服务器调试时就弹出 关于运行程序出现问题,无法运行 弹窗提示
the selection cannot be run on any server
解决方法:
其实这个是Dynamic web module version和你的tomcat支持的不匹配
version版本号就是在新建项目时候所选择的,3.0或2.5
修改项目版本:
用MyEclipse开发的servlet项目不能加载到tomcat7.0服务器,原因是:servlet的版本高了
只要将version=”3.0”改成version=”2.5”,然后重启MyEclipse即可!!!
具体操作步骤:
找到你的MyEclipse:F:\MyEclipse\JavaNewsProject(项目名称).settings\org.eclipse.wst.common.project.facet.core.xml这个配置文件,将 只要将version=”3.0”改成version=”2.5”,然后重启MyEclipse即可!!!
或者下载高版本的Tomcat (Tomcat 7.0以上)。
但是有些时候按照上述方法直接修改之后的话, 会报告找不到org.eclipse.wst.common.project.facet.core.xml该文件错误, 所以此时就只能重新创建Dynamic web project的时候重选servlet的版本选择低于3.0的版本!最稳妥的方法就是在创建该Dynamic web project的时候就选择低于3.0的版本.
阅读全文
0 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
- CSP 之 权限查询 java
- 判断程序集是debug还是release版本
- 菜鸟学java第二天
- 丑数
- bzoj3410 [Usaco2009 Dec]Selfish Grazing 自私的食草者
- the selection cannot be run on any server 原因
- 第二章 数据类型和运算符
- 算法第六周Merge k Sorted Lists[hard]
- Android网络编程(六)OkHttp3用法全解析
- 系统安全类命令补充
- 启动Tomcat服务器报错
- Android环境配置
- 含运算放大器电阻电路
- Android使用OkHttp实例,以及OkHttp方法封装