zoukankan      html  css  js  c++  java
  • MyEclipse项目如何导入到Eclipse

    1.请首先确保你的eclipse是javaee版本的,或者已经安装看wtp插件

    2.然后修改eclipse工程下的.project文件:

    3.在<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>

    4.在<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>

    5.刷新项目,项目->右击->Properties->Project Facets->Modify Project,选择Java和Dynamic Web Module
    配置Context Root 和Content Directory 以及源码路径。

  • 相关阅读:
    发布镜像
    实战Tomcat镜像
    Docker File介绍
    数据卷容器
    DockerFile
    具名、匿名、指定路径挂载
    实战MySQL
    SHELL 常用技巧
    CentOS6和7启动流程
    解决服务器openssh漏洞
  • 原文地址:https://www.cnblogs.com/azhqiang/p/4161388.html
Copyright © 2011-2022 走看看