我在运行程序时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.
------解决方案--------------------
关注··