Can not deploy web module to applications of weblogic in eclipse.

本文介绍了一个关于MyEclipse中网页模块部署的具体问题及其解决方案。问题在于项目的web资源不在默认的WebRoot目录下,而是位于src/web目录内,这导致了Eclipse无法正确复制资源文件。通过调整.mymetadata配置文件中的webrootdir属性,成功解决了部署问题。

There is a file called ".mymetadata",the content as below:

the web pages are in the src/web,not the default WebRoot.

so eclipse can not find the sources to copy.okay, change it,the web module will be deployed successful.

 

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project-module
  3.   type="WEB"
  4.   name="test"
  5.   id="myeclipse.1225948468964"
  6.   context-root="/test"
  7.   j2ee-spec="1.4"
  8.   archive="test.war">
  9.   <attributes>
  10.     <attribute name="webrootdir" value="src/web" />
  11.   </attributes>
  12. </project-module>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值