`

项目部署问题-could not be redeployed

阅读更多
      今天在开发项目过程中遇到一个问题,我更新项目文件后,重新部署是,eclipse提示错误:
引用

        项目名称 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 sever


分析问题的原因:由于更新了某些信息,不能及时加载到服务器,因为没有及时部署服务器。
我是这样解决的:
  • 选中工程
  • 右键点击工程名
  • 选择MyEclipse---add or remove Project Deployments
  • 选中服务器(表中的部署路径)
  • remove服务器
  • 重新add服务器
  • 点击reDeploy即可完成重新部署



分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics