编辑工程的.project文件:

添加

<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>

<natures>

</natures>

 

eg.

例如将

<natures>
    <nature>org.eclipse.jdt.core.javanature</nature>
</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>

    <nature>org.eclipse.jdt.core.javanature</nature>
</natures>


版权所有 罗明

posted on 2008-06-20 17:14 罗明 阅读(7677) 评论(8)  编辑  收藏 所属分类: Eclipse
Comments
  • # re: 在Eclipse中将Java Project转换成Dynamic Web Project
    imcaptor
    Posted @ 2008-07-30 16:38
    补充一下,
    选中项目,右键,Add web能力  回复  更多评论   
  • # re: 在Eclipse中将Java Project转换成Dynamic Web Project
    罗明
    Posted @ 2008-07-30 17:45
    嘿嘿,你这是哪个插件提供的功能啊? Eclipse本身不提供呢  回复  更多评论   
  • # re: 在Eclipse中将Java Project转换成Dynamic Web Project
    gamma
    Posted @ 2008-08-31 12:06
    MyEclipse 就支持这个,我也是刚找到的  回复  更多评论   
  • # re: 在Eclipse中将Java Project转换成Dynamic Web Project[未登录]
    罗明
    Posted @ 2008-08-31 12:20
    没用过MyEclipse。我觉得Eclipse提供的东东都够用了,不需要用这种illegal的software(当然如果你是花钱买的就不是illegal了,呵呵)  回复  更多评论   
  • # re: 在Eclipse中将Java Project转换成Dynamic Web Project
    gaowei
    Posted @ 2008-10-15 10:57
    选中项目右键,选择“属性”,在右窗口选择“项目构面”,然后选择“动态WEB”模块,根据提示选择要加的其它内容。OK
    注:我用的是eclipse3.2  回复  更多评论   
  • # re: 在Eclipse中将Java Project转换成Dynamic Web Project[未登录]
    罗明
    Posted @ 2009-03-12 15:38
    @gaowei
    我用的是eclipse3.3,在项目属性右窗口里没看见你说的项目构面,左边窗口也没有。 你可能是装了WTP插件,WTP有这个功能?  回复  更多评论   
  • # Marketing Promotion
    Marketing Promotion
    Posted @ 2009-05-18 01:50
    Hello everyone. Go through your phone book, call people and ask them to drive you to the airport. The ones who will drive you are your true friends. The rest aren't bad people; they're just acquaintances.
    I am from Uruguay and learning to write in English, give true I wrote the following sentence: "Search engine marketing insights, strategies, and techniques to help you increase your web traffic and online presence.In fact, seo is absolutely vital to your search engine marketing success."

    Thank :o Miriam.  回复  更多评论   
  • # re: 在Eclipse中将Java Project转换成Dynamic Web Project
    最代码
    Posted @ 2014-04-28 16:00
    最代码上有更详细的步骤文档:
    如何在eclipse jee中检出项目并转换为Maven project,最后转换为Dynamic web project,地址:http://www.zuidaima.com/blog/1618180875144192.htm

    如何在eclipse jee中创建Maven project并且转换为Dynamic web project,地址:http://www.zuidaima.com/blog/1618162161323008.htm  回复  更多评论   

只有注册用户登录后才能发表评论。


网站导航: