eclipse 清理项目和构建 J2me 项目时删除资源时出错

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11012509/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 18:22:01  来源:igfitidea点击:

Error deleting resources while cleaning project & building J2me project

eclipsejava-melwuits60

提问by MobileEvangelist

I'm running Eclipse pulsar with S60 SDK for j2me development and using LWUIT.jar but I'm getting following error while cleaning my project

我正在使用 S60 SDK 运行 Eclipse pulsar 以进行 j2me 开发并使用 LWUIT.jar,但是在清理我的项目时出现以下错误

Errors occurred during the build.
Errors running builder 'Preverification Builder' on project 'YokeApp'.
Problems encountered while deleting resources.
Could not delete 'H:\Bitbucket-6-12 Yoke ME\yoke-j2me\.mtj.tmp\verified\libs\LWUIT_MIDP.jar'.
Problems encountered while deleting files.
Could not delete: H:\Bitbucket-6-12 Yoke ME\yoke-j2me\.mtj.tmp\verified\libs\LWUIT_MIDP.jar.
Problems encountered while deleting resources.
Could not delete 'H:\Bitbucket-6-12 Yoke ME\yoke-j2me\.mtj.tmp\verified\libs\LWUIT_MIDP.jar'.
Problems encountered while deleting files.
Could not delete: H:\Bitbucket-6-12 Yoke ME\yoke-j2me\.mtj.tmp\verified\libs\LWUIT_MIDP.jar.

I added LWUIT.jar to folder /lib/ which I created in my project.
I don't understand why I'm getting this error?

我将 LWUIT.jar 添加到我在项目中创建的文件夹 /lib/ 中。
我不明白为什么我会收到这个错误?

As initially Eclipse gets loaded and then I went to folder mtj.tmp\verified\lib\LWUIT_MIDP.jarand delete it. It's deleted successfully, but when I clean my project it created again then I run my project after that I am trying to clean my project by aborting it's competed execution but what??.. the same problem is back as mentioned above. Why this is happening and to solve it?

最初 Eclipse 被加载,然后我去了文件夹mtj.tmp\verified\lib\LWUIT_MIDP.jar并删除它。它已成功删除,但是当我清理我的项目时它再次创建然后我运行我的项目之后我试图通过中止它的竞争执行来清理我的项目但是什么??..同样的问题又回到了上面提到的问题。为什么会发生这种情况并解决它?

回答by Logan

Go to the specified path and delete the file manually. Refresh the project and try again, this must solve your problem.

转到指定路径并手动删除文件。刷新项目并重试,这必须解决您的问题。