eclipse how to turn the project into a dynamic web project

2010-08-27  来源:本站原创  分类:Java  人气:169 

eclipse how to turn the project into a dynamic web project

1, from java project to a dynamic web project

1, open the project root directory. Project

2, an increase in buildSpec node:

Xml Code  

   1. < buildCommand >
   2.     < name > org.eclipse.wst.common.project.facet.core.builder </ name >
   3.     < arguments >
   4.     </ arguments >
   5. </ buildCommand >   

                <buildCommand>
                        <name>org.eclipse.wst.common.project.facet.core.builder</name>
                        <arguments>
                        </arguments>
                </buildCommand>

3. Increase in the natures node  :
Xml Code  

   1. < nature > org.eclipse.jem.workbench.JavaEMFNature </ nature >
   2. < nature > org.eclipse.wst.common.modulecore.ModuleCoreNature </ nature >
   3. < nature > org.eclipse.wst.common.project.facet.core.nature </ nature >   

                <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
                <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
                <nature>org.eclipse.wst.common.project.facet.core.nature</nature>

4, save the file, refresh the project

5, open the Project Properties, select Project Facets, check the Dynamic Web Module (the article mentioned many months Modify Project button, I use eclipse3.5, if not, you can directly select)

6, to determine

Second, the import came from the MyEclipse project

MyEclipse import came from the projects to the eclipse is a java project, wants to switch into a dynamic web project, the former four-step conversion method consistent with the above, step 5 a little different (I am groping for a long time, sweat a). Open the Project Facets, the default check in with Java, Utility Module, no other paper referred to modify project button, there is no Dynamic Web Module option (Once again, I use eclipse3.5, other versions I do not know ).

Right Utility Module, unlock, then will display a list of Dynamic Web Module option, check it and remove the Utility Module, select the Dynamic Web Module, the following have a future configuration available, set up your project's context, the way OK . Done!

相关文章
  • eclipse how to turn the project into a dynamic web project 2010-08-27

    eclipse how to turn the project into a dynamic web project 1, from java project to a dynamic web project 1, open the project root directory. Project 2, an increase in buildSpec node: Xml Code 1. < buildCommand > 2. < name > org.eclipse.wst.com

  • eclipse of the java project to a dynamic web project 2010-09-13

    eclipse of the java project to a dynamic web project Colleagues developed the original web project is directly under the eclipse java add in, not web projects, good debugging, there is no way to web project, it is certain. As follows: 1. Modify the p

  • Maven create a Web project to a Maven project into a Dynamic Web project 2011-09-08

    http://code.google.com/p/j2eewiki/wiki/MavenCreateWeb This method does not seem to project facts with eclipse3.5 option, it seems difficult to use Updated May 23, 2011 by cm2 ... @ gmail.com Create a Web project using eclipse ee create maven web proj

  • eclipse jee创建Maven project并转换为Dynamic web project 2015-04-05

    一.创建maven工程 在eclipse的菜单栏选择File->New->Other->Maven->Maven Project 下一步后选择Create a simple project(skip archetype selection),如图 下一步后输入Group Id,Archive Id,Packaging后点击Finish,如图 创建成功后的文件目录,如图 二.转换为java的Dynamic Web Project 右键点击Project的名称,选择Properties

  • Java Project using eclipse facete will be converted to Dynamic Web Project 2010-07-25

    Ago wrote a story about how Java Project Dynamic Web Project into the article (http://jazgung.javaeye.com/blog/438962), but has been in eclipse 3.6 does not work, and must be converted to the following methods: 1. Open the project propertise window 2

  • Creating Dynamic Web Project using Maven in Eclipse 2010-08-10

    While using Maven as build tool in our project, I found it very difficult to Create a Dynamic Web Project which supports Maven dependencies and can Execute in Eclipse! I have seen lot of people using Maven build tool just as and for local Setup uses

  • Maven new packaging standards such as Eclipse Dynamic Web Project Management 2010-09-13

    Maven can not do without POM file (project object model, XML documents). Generate Eclipse JAVA project with Maven is very convenient, almost completed the formation does not require any custom work done (in addition to increased reliance). To generat

  • eclipse Dynamic Web Project using tomcat7.0 create problems when the web.xml 2011-05-26

    Recent versions of Eclipse helios with tomcat7.0 build a dynamic web project, found in the WEB-INF web.xml under no. Solution: Create web project, the building next to the third, it will Generate web.xml deployment descriptor to select this option.

  • The Eclipse Dynamic Web Project with Maven's integration 2011-09-08

    Eclipse Dynamic Web Project to support the deployment of direct heat. By deploying the Eclipse embedded Server, you can immediately see the effect of modifications is very easy to use. Maven provides dependency management, and convenient to play war

  • eclipse配置tomcat开发Dynamic Web Project环境图解 2015-03-09

    这篇文章主要介绍了基于Eclipse进行Dynamic Web Project项目开发环境的整合,大家参考使用吧 一.引子 习惯了MyEclipse的你是否曾想过基于Eclipse进行Dynamic Web Project项目开发呢?网上资料颇多,但是实践起来却发现总有这样那样的问题,设计Lucene搜索引擎项目的一个需要,重新搭建了一次环境,感触颇多,先总结下来,以备后用. 二.版本说明 2.1 Eclipse J2EE Eclipse Java EE IDE for Web Develope

  • MyEclipse Web Project转Eclipse Dynamic Web Project 2013-10-15

    由于工作原因,需要将svn上的MyEclipse Web Project导入到Eclipse(Eclipse Java EE 4.2)中开发.但是在部署到tomcat时,发现无法发布这个项目. MyEclipse Web Project被识别为Java Project.所以决定从Java Project和Dynamic Web Project的区别开始分析. 一.分析 Java Project 1 .classpath 2 .project 3 .settings 4 org.eclipse.j

  • Eclipse Java EE IDE 创建 Dynamic Web project问题 2013-12-14

    Eclipse Java EE IDE for Web Developers 创建的 Dynamic Web project 编译后的class文件默认存放路径问题,默认存放路径是build/classes导致应用部署后,Tomcat 抛出异常: The value for the useBean class attribute XXX is invalid Java Servlet 3.0 Specification(java Servlet 3.0 规范是这样描述的) 10.5 Direct

  • 如何在eclipse jee中创建Maven project并且转换为Dynamic web项目 2014-08-27

    一.创建maven工程 在eclipse的菜单栏选择File->New->Other->Maven->Maven Project 下一步后选择Create a simple project(skip archetype selection),如图 下一步后输入Group Id,Archive Id,Packaging后点击Finish,如图 创建成功后的文件目录,如图 二.转换为java的Dynamic Web Project 右键点击Project的名称,选择Properties

  • create a dynamic web project tomcat problem 2011-10-09

    In eclipse when creating dynamic web project, there can not create server situation, the following error message: Tomcat version 6.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5 Web modules The reason is: When creating the project chose the 3.0. A

  • 创建java Dynamic Web Project + Struts-2.3.20的心酸 2014-12-17

    首先下载eclipse java ee版本,打开后设置工作间,然后File-New创建一个Dynamic Web Project 创建好了配置tomcat. 在window-Preferences-Server-Runtime Environments 选择对应的tomcat版本后就OK了.配置好tomcat后还要为项目设置Build Path,对着项目右击鼠标选择属性,然后选择java build path,里面有个order and export选项卡,后面把tomcat勾选上.接下来就配置

  • Dynamic Web project转成Maven项目 - 两只蜗牛 2015-01-18

    Dynamic Web project转成Maven项目 一.Maven安装与配置 二.Eclipse中Maven插件安装和配置 三.Eclipse构建Maven项目 四.Dynamic Web project转成Maven项目[当前] 1.新建Dynamic Web Project 1.File -> New -> Other.在New窗口中选择Web下的Dynamic Web Project.点击next. 2.输入项目名称,点击next 3.选择源代码路径 与Maven Project保

  • Dynamic Web project转成Maven项目 2015-04-14

    Dynamic Web project转成Maven项目 1.新建Dynamic Web Project 2.输入项目名称,点击next 3.选择源代码路径 4.转化Maven Project 5.其他配置 Dynamic Web project转成Maven项目 一.Maven安装与配置 二.Eclipse中Maven插件安装和配置 三.Eclipse构建Maven项目 四.Dynamic Web project转成Maven项目[当前] 1.新建Dynamic Web Project 1.F

  • How to create dynamic web project using facets 2010-03-22

    To create a blank faceted project, you can use one of the ProjectFacetsManager.create () methods. Once the project is created you will need to set fixed facets (those facets that the user cannot deselect (WTP sets jst.java and jst.web for the Dynamic

  • Eclipse Java Project will be converted to Dynamic Web Project 2010-06-03

    1. Modify the project. Project file, save, do not remember the need to restart Eclipse has. In <natures> ... </ Natures> Add the following three lines of configuration between <nature> org.eclipse.wst.common.project.facet.core.nature <

  • How the eclipse java project is converted to web project? 2010-10-12

    1, into the project directory, locate the. Project file, open it. 2, find <natures> ...</ natures> code. 3, in step 2 by adding the following section of code labels and save: <nature> org.eclipse.wst.common.project.facet.core.nature <