早期的j2ee工程到了eclipse 3.5里以后,往往不能使用server面板的add/remove来进行部署.解决办法如下:

解决老版eclipse/myeclipse的web工程在eclipse 3.5里面不能部署的方案

1,使用记事本打开工程的.project文件,在下面添加一个nature:

<nature>org.eclipse.wst.common.project.facet.core.nature</nature>

2,打开工程,打开属性面板,找到以下内容,按需选择:解决老版eclipse/myeclipse的web工程在eclipse 3.5里面不能部署的方案

3,确定后,打开工程.settings目录,找到org.eclipse.wst.common.component文件,修改一下自己的jsp目录:

<wb-resource deploy-path="/" source-path="/WebContent"/>

完成.

转载于:https://www.cnblogs.com/senzjx/archive/2009/09/22/1571522.html

相关文章:

  • 2021-06-25
  • 2021-06-21
  • 2022-12-23
  • 2021-12-05
  • 2021-08-14
  • 2021-06-03
  • 2022-02-07
  • 2021-09-14
猜你喜欢
  • 2021-04-15
  • 2021-05-28
  • 2022-01-08
  • 2022-12-23
  • 2021-09-21
  • 2021-08-21
相关资源
相似解决方案