我的项目只要一点 redeploy 就会出现下面的错误,这是什么原因 ?myProject could not be redeployed because it could not be completely
removed in the undeployment phase. The most common cause of this problem
is attempting to redeploy while the server is running, which has locked one or 
more files.To correct the deployment you will need to stop the server and then redeploy 
the project before restarting the server.

解决方案 »

  1.   

    是说:无法清理掉老的应用。并提示:发生这种情况最大的可能是服务还在运行,所以锁住了很多文件导致无法undeploy;建议你停止服务器,再redeploy,然后再启动服务器。
      

  2.   

    我真不明白了,这个项目是两年前在 myeclipse6.5上做的,现在用的8.5 ,sqlserver2000personal,
    刚试了几个小的页面项目发布都没问题,
    实在是不明白哪出问题了,是不是要改哪里的配制文件啊,我好象记得以前有改过哪里,但时间太长了,记不起来了,大虾们谁能帮帮忙啊,谢谢了 .
      

  3.   

    去你想deploy的目标服务器上,把上一个应用先手工给干掉,再尝试部署看看。
      

  4.   

    你是说数据库还是啥的,你是说把项目在myeclipse里删了再导入一下吗,
    我就是在本机上发布一下,太长时间没搞了,我想重新学一下 .
      

  5.   

    这个问题解决了,原来是我的项目里的文件不知道被谁删掉了一些 . web-inf 里的配制文件全没了, 艹 .
    我找到另外一个备份就没这问题了 .