`
落地窗
  • 浏览: 439372 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

If a file is locked, you can wait until the lock times out to redeploy, or s

阅读更多
部署时提示的错误信息如下:

Deployment failure on Tomcat 6.x. Could not copy all resources to E:\apache-tomcat-6.0.16\webapps\HebbnWebServices. If a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or manually remove the deployment at E:\apache-tomcat-6.0.16\webapps\HebbnWebServices

再次点部署按钮时就会提示如下:

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.

办法就是在Eclipse中把项目中引用的jar文件重新加一遍就行了,基本原因就是以前的jar文件不存在了,但是项目信息中还有,即项目的.classpath文件中还有不存在的jar文件引用。

对照.classpath文件中的classpathentry属性引用的.jar文件和项目lib文件夹中的.jar文件,删除存在于.classpath文件中却不存在于lib文件夹中的节点。

可以右键点项目名称,选择Properties,选择Java Build Path,选择Libraries,把所有项目中的jar都remove,然后再点"add jars",把项目中的jar文件都加进来,再次部署就正常了。
分享到:
评论

相关推荐

    微软内部资料-SQL性能优化3

    An intent lock indicates that SQL Server wants to acquire a shared (S) lock or exclusive (X) lock on some of the resources lower down in the hierarchy. For example, a shared intent lock placed at the ...

    解决sqlite死锁示例异常database is locked示例

    "database is locked"错误是SQLite在遇到死锁情况时抛出的异常,意味着数据库当前处于锁定状态,无法进行预期的操作。本文将深入探讨SQLite死锁的原因、诊断方法以及解决策略。 **1. SQLite死锁原因** SQLite死锁...

    微软内部资料-SQL性能优化2

    A 32-bit process is normally limited to addressing 2 gigabytes (GB) of memory, or 3 GB if the system was booted using the /3G boot switch even if there is more physical memory available. By leveraging...

    Core is locked-up! stm32 flash 解锁

    stm32 flash解锁,我的是开发板,在按键中断中解锁flash,具体的见源代码,使用ram.icf,把程序烧录在ram中,环境是IAR6.10,库版本是3.0,成功解决Core is locked-up问题。~

    sqlite死锁datebaselock解决方案

    if "database is locked" in str(e): print("数据库被锁定,稍后重试...") continue else: raise e finally: cursor.close() conn.close() # 使用示例 execute_with_retry("your_database.db", "INSERT ...

    BURNINTEST--硬件检测工具

    if the test was run a couple of times (without closing BurnInTest). Release 5.3 build 1021 WIN32 release 5 June 2008 - 32-bit BurnInTest PRO 5.3.1020 would not start on Windows 2000. This has been ...

    VclZip pro v3.10.1

    If you use Delphi 6, 7, or BCB 6, you don't have to worry about any of this as the normal TSTream is used by VCLZip and handles large file/stream sizes. ============ Version 2.23 (VCLZip Lite) ...

    pll.rar_back_frequency control_phase locked loop_pll lock_pll lo

    A phase-locked loop or phase lock loop (PLL) is a control system that generates an output signal whose phase is related to the phase of an input signal. While there are several differing types, it is ...

    Oracle the account is locked解决办法

    本文将针对“Oracle the account is locked”这一主题进行深入探讨,包括其原因、查询方法以及具体的解锁步骤。 #### 错误提示与含义 当出现`ORA-28000: the account is locked`这样的错误提示时,表明当前尝试登录...

    Radmin自动登录器v3.0-多国语言绿色版-Release1-20150615

    (A)启动Excel,选择菜单“数据->导入外部数据->导入数据”,选择RadminM.txt文件; (B)文本导入向导第1步,直接单击“下一步”; (C)第2步必须选中“逗号”分隔符,再单击“下一步”; (D)第3步必须将所有18列都...

    数位板压力测试

    In this document, the words "tablet" and "digitizer" are used interchange¬ably to mean all absolute point¬ing or digitizing devices that can be made to work with this interface. The definition is ...

    Radmin自动登录器v3.0

    (A)启动Excel,选择菜单“数据->导入外部数据->导入数据”,选择RadminM.txt文件; (B)文本导入向导第1步,直接单击“下一步”; (C)第2步必须选中“逗号”分隔符,再单击“下一步”; (D)第3步必须将所有18列都...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    Added TFlexFileFormat.StreamSupport property (default True), which difines, is it necessary to open file stream or give the file name only. - FIX: If the TCustomProp.Assign method calls when the ...

    Android代码-Baby Time: Android Wear Lock

    An app to prevent rugrats from accidentally SMSing China or ordering you a Lyft car when you’re holding them. It keeps the screen on, but at its lowest brightness setting to avoid annoying – or ...

    Unlocker(解锁顽固文件)

    How often have you tried to delete or rename a file or folder and got "Cannot delete xxx: It is being used by another person or program." ? Unlocker is a tool which will help you removing this ...

    Matlab锁相环路代码phaselockedloopPLL-pll.m

    A phase-locked loop or phase lock loop is a control system that generates a signal that has a fixed relation to the phase of a "reference" signal. The predecessor to the modern phase-locked loop was ...

    VB编程资源大全(英文源码 其它)

    6 , chunks.zip This will open a file and read it in "Chunks" of a selected file.<END><br>7 , logging.zip This is a bas that will log installation procedures so the file can be removed later....

    VB编程资源大全(英文源码 控制)

    list_index.zip This example tells you if the inputted List Index is selected or not.<END><br>12 , fade.zip This is a bas to fade a pictuerbox. Can be used to make a progressbar<END><br>13 , ...

    Diskeeper 2008 v12.0.759.0

    You can use commands from the Windows Command Prompt or a batch file to control Diskeeper. Group Policy Support -------------------- Diskeeper can be configured network-wide with the Group Policy ...

Global site tag (gtag.js) - Google Analytics