一个资源有不同的情况存在,类文件没有产生 [英] A resource exists with a different case, and class files not generating

查看:181
本文介绍了一个资源有不同的情况存在,类文件没有产生的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

获取Eclipse的一个问题,它说

Getting a problem in eclipse which says

The project was not built due to "A resource exists with a different case: 
'/AgriExpenseTT/bin/classes/uwi/dcit/agriexpensett'.". Fix the problem, then try           refreshing this project and building it since it may be inconsistent

我读过其他职位说要检查我的包名/删除我的R.java/删除bin文件夹/清理项目/重新启动Eclipse和或电脑,我已经试过所有这些,但无济于事,但我'已经注意到,在我的斌/班/西印度群岛/ DCIT / agriexpensett 没有类文件,是假定如果我错误的情况发生,任何帮助是AP preciated感谢

I've read other posts saying to check my package name/ delete my R.java/ delete bin folder/clean the project/restart eclipse and or computer, i've tried them all but to no avail, however i've noticed that in my bin/classes/uwi/dcit/agriexpensett there were no class files, is that supposed to happen if i've an error, any help is appreciated thanks

推荐答案

此问题是由你包的名字一个错字一些地方在项目中,不同的情况造成的。

This problem is caused by a typo in your package name some where in the project, "a different case".

我建议你在这些地方比较包名称:

I suggest you compare package name in all these places:

1.Manifest.xml >>包的名称应该是所有小字母

1.Manifest.xml >> package name should be all in small letters

在src文件夹2.packages

2.packages in src folder

在根文件夹3.packages

3.packages in gen folder

他们都应该是一样的,如果不解决这个问题或者重构了错误的包名,这将解决这个问题。

they should all be the same, if not fix it or refactor the wrong package name, this will solve it.

我的问题是在根文件夹中包不同的情况下,我希望这有助于。

my problem was in different case in gen folder package, i hope this helps.

*保持清洁,建设项目,关闭/重新打开,有时重启蚀

*keep on cleaning, building the projects, closing/reopen them and restarting eclipse sometimes

这篇关于一个资源有不同的情况存在,类文件没有产生的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆