第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

如何使eclipse工程導(dǎo)入myeclipse

如何使eclipse工程導(dǎo)入myeclipse

慕田峪4524236 2019-03-03 08:04:20
如何使eclipse工程導(dǎo)入myeclipse
查看完整描述

2 回答

?
米脂

TA貢獻(xiàn)1836條經(jīng)驗 獲得超3個贊


工具:

myeclipse

方法:

1. 在myeclipse中建立一個java web工程。File-->New-->Web Project

2. 開始導(dǎo)入工程中的文件。File-->import

3. 因為eclipse中的web部署文件夾叫做webContent,而myeclipse中叫做webRoot,針對這個不同需要做一系列的修改。首先在新建的工程上點擊右鍵,選擇"Properties",出現(xiàn)以下對話框。請注意紅框區(qū)域,一般都需要修改。

4.將以上webRoot的地方全部改為webContent即可。





查看完整回答
反對 回復(fù) 2019-03-11
?
尚方寶劍之說

TA貢獻(xiàn)1788條經(jīng)驗 獲得超4個贊



具體步驟:
1、通過eclipse的import方式,將web項目導(dǎo)入。
2、打開.project文件,將原配置文件中的<buildSpec>...</buildSpec><natures>...</natures>部分替換為以下內(nèi)容: <buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.Jsdt.core.javaScriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.DeploymentDeScriptorValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
<nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.Jsdt.core.JsNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
</natures> 3、刷新項目,項目->右鍵->Properties->Project Facets->Configuration->custom,選擇Java和Dynamic Web Module(注意版本,如果無法確定自己的版本,請從高往低測試)

4、修改.settings目錄(可在navigator視圖下查看)中org.eclipse.wst.common.component文件的如下內(nèi)容:
<wb-resource deploy-path="/" source-path="/WebContent"/>
改為: <wb-resource deploy-path="/" source-path="/WebRoot"/>
5、刷新項目,然后查看classpath是否有問題。
6、最后,刪除eclipse默認(rèn)的WebContent目錄,Myeclipse默認(rèn)的是WebRoot。





查看完整回答
反對 回復(fù) 2019-03-11
  • 2 回答
  • 0 關(guān)注
  • 694 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號