使用WTP开发WEB程序,需要把WEB-INF/lib下的某个jar库删除,在eclipse的项目浏览器里是删不掉的,因为它在BuildPath里。于是就先把eclipse关掉,然后通过资源管理器找到那个project的文件夹,把文件删除。重新打开eclipse,运行该web程序(Run on server),会出现Publishing failed错误,详细信息为:Resource /xxxx does not exist,其中/xxxx是那个project文件夹。怎么可能呢,那个文件夹好好地放在那里,居然说does not exist! 原因:由于在外面把某个jar删掉,eclipse还不知道,发布web程序的时候以为那个jar还在,于是就把它发布出去,但那个文件不存在,所以就报错。只是这个错报得太离谱,一个文件不见了就说整个project不存在,简直是误导观众! 解决方法:删除jar的时候不能直接在eclipse里删,更不能在外面删。要先把整个Web Library从BuildPath里去掉,这样lib里的所有jar都不在BuildPath里了,然后在eclipse的项目浏览器(Navigator view)里把jar删除,然后再添加Web Library。
==============================
在eclipse里把工程删了,重新加入,即可。
分享到:
相关推荐
ffmpeg win版,用于测试rtmp
<br>If jUnit is not properly configured, you may get an error like this: BUILD FAILED c:\swingx\nbproject\build-impl.xml:407: Following error occured while executing this line c:\\...
And does not allow to see last second changes in traffic. That's why STG was written. It allows monitoring of SNMP devices with different update periods starting from 0.01s so you could see what's ...
直接使用delphi xe2 自带的fastreport居然出现The following error(s) have occured: cannot find TfrxReport的错误。尝试了好几次都不行。网上查阅了一下,解决办法如下: 1.退出delphi xe2 2.下载...
NULL 博文链接:https://navylee.iteye.com/blog/2076985
NULL 博文链接:https://reuental.iteye.com/blog/616096
NULL 博文链接:https://1307111376.iteye.com/blog/1985359
该文档是美团cat监控系统的服务器搭建,主要描述的是windows系统下,单机部署美团cat监控系统,客户端的使用请看下一个文件。
Eclipse运行TOMCAT 出现在a java exception has occurred的解决办法。
Error occured at:2014-03-24 11:42:24 Line no.:85 Error Code: 2006 - MySQL server has gone away 最终找到原因,原来是MySQL导入大批量数据的时候超出了默认允许最大的数据包所以就提示2006 – MySQL server ...
- pro and premium: Due to a problem with precompiler cursoir selection did not work correctly 8.3.2012 - WPTools 6.25.3' - borders for paragraphs with multiple lines were not drawn correctly - ...
***How to install:*** 1. Check that JRE v. 1.5 or newer is installed. 2. Install a Symbian OS C++ SDK (S60 1.2 and S60 2nd ed FP3 tested) ...- EMPc does not use deprecated getenv-method anymore.
1. genymotion unfortunately has stopped , 完美解决。 2. 解决genymotion-arm-translation.zip无法拖拽安装的完美问题。 4. genymotion,拖进去后变成Files successfully copied to: /sdcard/Download, 完美解决...
- FIX: If the TCustomProp.Assign method calls when the undo/redo history writing was in progress, the error occured. - FIX: The TFlexPanel.LoadFlexControl method now virtual. - FIX: The TFlexPanel....
- Fixed crash that occured sometimes when deleting files ------------------- Changes in 0.2 ------------------- - Deleting files - Renaming files - Drag & Drop for adding files & directories - ...
今天在Eclipse中运行Android项目时遇到”The connection to adb is down, and a severe error has occured”这个问题,如下图所示: 第一次遇到这个问题,上网查了一下原因,原来”The connection to adb is ...
This key does not require a special key driver. It simply needs a PC and a windows version which supports USB ports. - When using the driver in conjunction with NetLink adapter, the licensing ...
运行Android程序时,可能会出现 The connection to adb is down, and a severe error has occured.You must restart adb and Eclipse... 的错误
Now the USB device classes no longer exist twice if both HC plugins are loaded. - added 'pseudo device' in common USB code for the device creation. This makes the HCs independent from the device ...
hprof-conv.exe The connection to adb is down, and a severe error has occured