the eclipse java project to web project

2011-03-21  来源:本站原创  分类:Development  人气:95 

1, modify the project. Project file, save, do not remember whether the need to restart Eclipse.
In <natures>
...
</ Natures>

The following three lines added between the configuration

<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) In Eclipse open "project properties", will see a lot of new selections, point "Project Facets", select: Dynamic Web Module and java to.

3.web deployment directory settings

In org.eclipse.wst.common.component adding:

<wb-resource deploy-path="/" source-path="/src/main/webapp"/>
The personalization of the web deployment directory

相关文章
  • the eclipse java project to web project 2011-03-21

    1, modify the project. Project file, save, do not remember whether the need to restart Eclipse. In <natures> ... </ Natures> The following three lines added between the configuration <nature> org.eclipse.wst.common.project.facet.core.nat

  • Eclipse to create dynamic Web project 2010-12-05

    1. Set target runtime: JDK container and the container corresponding to the configuration 2. Set module version: example: 2.4 3. Set output folder: WebRoot \ WEB-INF \ classes (consistent with the selected vessel code) 4. Set content directory: WebRo

  • 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

  • Set maven web project management using tomcat in eclipse release 2010-04-16

    I generally use maven to manage dependence and environment configuration, debug stage in the development of web project using eclipse to publish to web Container , maven default project related documents compiled on the target directory, tomcat relea

  • 如何在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

  • 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

  • eclipse3.5 the web project into myeclipse 2010-04-16

    As the myeclipse plugin charges, and feel bloated, and so want a direct way to use eclipse + wtp development of web applications, you can also replace the previous project into eclipse in myeclipse, but to do a little change, as follows (note that th

  • 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

  • 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

  • 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

  • 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

  • Management Eclipse Java project to use Maven 2010-03-29

    This article can be willfully, but please keep the original Source: http://www.webwork.cn/archives/50009640.html Why do you want to use Maven, What are the benefits of using Maven maven is a project to help you compile, document management, reporting

  • [Change] Eclipse Java project management using Maven 2010-04-04

    This article can be reproduced in any, but please keep the original source: http://www.webwork.cn/archives/50009640.html Why use Maven, what benefits to use Maven maven is a project to help you compile, document management, report management, package

  • 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

  • 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 flex web project integration 2010-09-03

    Flex + LCDS (Blazeds) + Java Tutorial, how to integrate eclipse web project in flex

  • 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

  • MyEclipse Web project deployment java.lang.NullPointerException exception Times 2010-10-09

    MyEclipse Web project using the very convenient to deploy, configure Tomcat or JBoss and so good in the Server view can "Add Deployment ..." the. But the recent deployment of a project throws an error, suggesting that: eclipse.buildId = unknown

  • java project into a web project 2010-11-07

    Under the new Eclipse java project, the renovation project for the web project manually: Modify the project directory. Project file the document under normal project are: <?xml version="1.0" encoding="UTF-8"?> <projectDescript

  • Eclipse Java project management using Maven 2011-01-10

    Original: http://samwong.javaeye.com/blog/867600 Why use Maven, what benefits to use Maven maven is a project that can help you compile, document management, report management, including dependency management, SCMs management and publishing tool that