zoukankan      html  css  js  c++  java
  • tomcat redeploy 失败 ,which has locked one or more files.

     Undeployment Failure could not be redeployed because it could not be completely removed in the undeployment phase. the most common cuase 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、停止运行Tomcat,右键点击项目,  选择点击“Properties”,在弹出窗口选中“Java Build Path”,再点“Libraries”书签,如下图

        2。 如果有错误的架包 ,删除 或者查看原因 解决错误  ,再次redeployed   ,

          如还不行 ,就删除所有jar  包 ,从  webapps中的web-inf  的lib  从新导入jar  包

  • 相关阅读:
    HDU 4644 BWT (KMP)
    常数的值类型问题
    HDU 1395 2^x mod n = 1 (欧拉函数)
    HDU 5384 Danganronpa(AC自动机)
    9.自己实现linux中的tree
    8.底层文件库
    7.标准文件库
    7.gcc的使用
    5.文件I/O
    4.vim操作
  • 原文地址:https://www.cnblogs.com/zhangchenglzhao/p/3016012.html
Copyright © 2011-2022 走看看