当前位置: 代码迷 >> Eclipse >> myeclipse操作技能
  详细解决方案

myeclipse操作技能

热度:91   发布时间:2016-04-23 00:22:25.0
myeclipse操作技巧

1、myeclipse add spring capabilities功能删除

?

查看工程文件.project

?

?<natures>
??<nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
??<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>
??<nature>com.genuitec.eclipse.springframework.springnature</nature>
??<nature>org.eclipse.jdt.core.javanature</nature>
?</natures>

?

删除?<nature>com.genuitec.eclipse.springframework.springnature</nature>然后更新该工程。

之后就可以该能力了

?

2、myeclipse中java项目转成web项目?
2.1、编辑.project文件,找到<natures>...</natures>??
2.2、中找到的结点中加下面的的代码(如果没有)??
<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>??
2.3、在eclipse刷新项目或重启eclipse??
2.4、选择项目,右键,选择属性??
2.5、在左侧列表中找到Myeclipse->Project Facets,在右侧选择“Dynamic Web Module”和"Java",点击”OK”??

  相关解决方案