zoukankan      html  css  js  c++  java
  • MyEclipse web项目转换为eclipse web项目

    MyEclipse web项目转换为eclipse web项目(把WebRoot转换为WebContent)

    1、进入项目目录,打开.project文件。增加内容

            <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>
            <nature>org.eclipse.wst.jsdt.core.jsNature</nature>

    2、打开项目目录下的.classpath文件,把所有WebRoot字符串改为WebContent,保存

    3、把项目目录下WebRoot文件夹改为WebContent。

    4. 在eclipse中Java Resources:src目录的Libraries里添加web服务器需要的包

    5.在eclipse的项目上点右键,刷新项目

    6.在项目上点右键,进入属性(properties)在左侧列表项目中点击选择“Project Facets”,在右侧选择“Dynamic Web Module”和”Java”,点击保存即可。

    修改配置文件为java1.6

     

    7.添加server

    8.选择BuildPath—–>configure Build Path——>当前窗面下选择选择Add Library—–>server Runtime——>选择需要的web服务器

     

     9.部署

     

     

     

     

     

  • 相关阅读:
    c++字符串
    Ubuntu系统的安装与使用 深度音乐播放器
    Ubuntu14.04安装wineqq国际版
    pythonchallenge 解谜 Level 0
    Ubuntu 14.04 安装pdf阅读器
    Ubuntu换源
    pythonchallenge 解谜
    java实现图像灰度化
    c语言完成宽带拨号
    应用程序权限设计
  • 原文地址:https://www.cnblogs.com/xiao-apple36/p/15002145.html
Copyright © 2011-2022 走看看