myeclipse 项目导入至eclipse中不能识别为web项目,没有run on server菜单,也不能部署。
来源:互联网 发布:php 命令行执行代码 编辑:程序博客网 时间:2024/06/08 12:06
1.请首先确保你的eclipse是javaee版本的,或者已经安装看wtp插件
2.然后修改eclipse工程下的.project文件:
在 <natures> </natures>中加入
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
在 <buildSpec> </buildSpec>中加入
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
3.刷新项目,项目->右击->Properties->Project Facets->Modify Project,选择Java和Dynamic Web Module(注意选择版本:tomcat6.0选择2.5版本)
4.配置Context Root 和Content Directory 以及源码路径,Context Root位于项目属性-->Web Project Settings,Conttent Directory与源码路径位于项目属性-->Deployment Assembly
- myeclipse 项目导入至eclipse中不能识别为web项目,没有run on server菜单,也不能部署。
- Eclipse导入MyEclipse的web项目没有run on server
- eclipse或Myeclipse中web项目没有run on server
- eclipse或Myeclipse中web项目没有run on server
- Eclipse导入到web项目没有run on server
- Eclipse导入到web项目没有run on server
- Eclipse导入到web项目没有run on server
- Eclipse导入到web项目 没有出现run on server
- Eclipse导入到web项目没有run on server
- Eclipse导入到web项目没有run on server
- Eclipse导入到web项目没有run on server
- myeclipse中web项目没有run on server的解决办法
- Spring学习笔记(二十): eclipse或Myeclipse中web项目没有run on server
- eclipse或Myeclipse中web项目没有run on server时怎么办?
- 从myeclipse导入eclipse导致不能识别为web项目
- myeclipse导入项目右键runas中没有MyEclipse Server Application,而且往tomcat部署时也不能自动定位到项目
- 从myeclipse导入eclipse,不能识别为web项目(java项目转为web项目)
- 从myeclipse导入eclipse导致不能识别为web项目(java项目转为web项目)
- 一道让人很费解的智力测试
- 网页出现HTTP 400 Bad Request,Size of a request header field exceeds server limit.原因及解决方法
- 关于oracle client NLS_LANG的讨论
- apache2 ssl 认证
- 关于rman建DG的tempfile
- myeclipse 项目导入至eclipse中不能识别为web项目,没有run on server菜单,也不能部署。
- 3种方法快速制作tpk文件
- 位域
- [C++] 源文件编译过程
- 小谈chrome调试命令:console.log的使用
- Ie6 Ie7 常见 兼容问题解决方案
- Adobe CC (Creative Cloud)全系列软件下载(含安装激活说明)
- 常量指针与指针常量的区别
- 适配器模式