首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

eclipse中异常显示:The project was not built due to "Could not read file: E:\gsms

2012-04-13 
eclipse中错误显示:The project was not built due to Could not read file: E:\gsms_Log.LDF. 请问如何

eclipse中错误显示:The project was not built due to "Could not read file: E:\gsms_Log.LDF." 请问如何解决?
我在运行程序时eclipse突然中止了,重新打开运行程序后发现以前所有的警告都消失了,只有一个错误显示是:The project was not built due to "Could not read file: E:\GSMS\sqldb\gsms_Log.LDF.". Fix the problem, then try refreshing this project and building it since it may be inconsistent. 
  在这之前程序能正常运行,数据库的文件也都没有更改过,为什么会出现这个错误呀?有什么办法可以解决吗?
  请各位高手出手相助呀!傻丫头在此谢过了!

[解决办法]

1.删除已编译了的所有classes,刷新工程,重新编译。
2.计算机重新清理一下内存,要排除内存泄露和系统有毒等原因。
3.数据库看文件看没有其它不正确设置……不明原因的破坏了数据库文件。
[解决办法]
The error log might have more clues about what the problem is. 
Window > Show View > Other > PDE Runtime > Error Log. 
A common cause of failure to delete (on Windows) is when another process 
has an open file handle on the resource that it was trying to delete.
[解决办法]
关注··

热点排行