原文网址:http://blog.csdn.net/mylinx/article/details/44280563

进行编码时,工程前面莫名有个红X,正当百思不得其解时,发现在[problems]下有如下的消息输出

------

the project was not built due to a resource exists with a different case...

------

按照提示对代码再次进行了check,果然是大小写出了问题,具体如下:

包名为:com.example.Android_intent3

但很奇怪的是.java文件中AndroidMaifest.xml中引用该包的地方都变成了小写,但程序没有明确的报错。。。

修改前:package="com.example.android_intent3"

修改后:package="com.example.Android_intent3"

再次运行程序正常。

自己的解决方法:按照上面描述,修改AndroidManifest.xml中的package,和包名的大小写要一致。

原文网址:http://blog.sina.com.cn/s/blog_6c1da70601011stf.html

出了问题一定要仔细看ecplise的提示信息。

昨天,在编写一个新项目的时候,忽然发现以前已经编写完毕,并且测试完成的程序部分全部不能执行了。

起初以为是配置文件的事情,因为出错测试时只有servlet文件提示路径错误,

一番周折后...发现resin服务器中的编译文件,全部都没有了,也就是所有的JAVA文件等都无法编译了.....

浪费了一整天时间,找了各种方法后,依然不行....

偶尔发现==>在Problems中提示错误

the project was not built due to "a resource exists with a different case'项目位置',",fix the problem,then try refreshing this project and building it since it may be inconsistent

注意红字:意思大约为“資源存在不同的大小写”

网上查找后发现:

DescriptionResourcePathLocationType

The project was not built due to "A resource exists with a different case: '/weibo4j/bin/ictclas'.". Fix the problem, then try refreshing this project and building it since it may be inconsistentweibo4jUnknownJava Problem

使用eclipse时遇到这个问题,百思不得其解,后来终于弄对了,原来是两个包名重合了,包名是部分大小写的!!!

由于导入的ICTCLAS是jni写的,可能这个问题没有被eclipse正确识别,当我又新建了ictclas时就出错了!!!

发现自己的项目中有两个包:Hygl...和HyGl.... 将HyGl这个包改了其他一个名字后,重新加载项目解决!

教训:出现问题了先看Problems的提示,否则只是凭自己的大概猜测,找到问题的时间可能会长一些。

【转】eclipse -- the project was not built due to a resource exists with a different case...的更多相关文章

  1. eclipse中导入项目后提示错误:The project was not built due to"Could not delete'/文件夹路径名

    eclipse中导入项目 1.新建一个项目: 2.把已存在的项目的所有文件复制到该新建的项目下: 3.把lib文件夹中的jar导入:(右键-)add into path……): 4.常见问题如下 ec ...

  2. The project was not built due to "Could not delete '/XXX/WebRoot/WEB-INF/classes/library'.". Fix the problem, then try refreshing this project and building

    在构建插件时提示如下错误: Description Resource Path Location Type The project was not built due to "Could n ...

  3. svn被锁 The project was not built due to "org.apache.subversion.javahl.ClientException: Attempted to lock an already-locked dir

    解决办法  :  右键该项目  ,---->Team---->选"Team"-->"Refresh/Cleanup",并确认"Ref ...

  4. eclipse导入maven项目, A resource exists with a different case: '/xxx'.

    eclipse 导入maven 项目出现 这是由于你的workspace里有相同的项目, 这时在metadata里可以看到所有的project信息 只需在eclipse的package explore ...

  5. eclipse svn插件卸载 重新安装 Subclipse卸载安装 The project was not built since its build path is incomplete This client is too old to work with the working copy at

    安装插件的原则就是,要按照规则,插件与本地的svn版本要一致, 这样子本地和eclipse上面就可以无缝使用,不会出现问题 1.卸载eclipse  svn插件 2,安装新版的svn插件 2.1,下载 ...

  6. ECLIPSE ANDROID PROJECT IMPORT SUMMARY

    ECLIPSE ANDROID PROJECT IMPORT SUMMARY======================================Manifest Merging:------- ...

  7. Java问题解决:The project cannot be built until build path errors are resolved

    参考:http://blog.csdn.net/marty_zhu/article/details/2566299 1,看看project -- Build Automatically有没有勾上?如果 ...

  8. 转:问题解决:The project cannot be built until build path errors are resolved

    转自:http://blog.csdn.net/marty_zhu/article/details/2566299 今天在eclipse里遇到这个问题,之前也遇到过,不过,通过clean一下项目,或者 ...

  9. The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object

    The project was not built since its build path is incomplete. Cannot find the class file for java.la ...

随机推荐

  1. ASP.NET MVC 第三回 Controller与View

    这节我们让ASP.NET MVC真正的跑起来 一.新建Controller 首先我们自己新建一个新的Controller在Controllers上点右键,添加,Controller选项   之后出现一 ...

  2. 处理移动端click事件300ms延迟的好方法—FastClick

    下载地址:https://github.com/ftlabs/fastclick 1.click事件为什么有延迟? “...mobile browsers will wait approximatel ...

  3. 表达式:使用API创建表达式树(2)

    一.BlockExpression类:表式一个包含可在其中定义变量的表达式序列的块.是一组表达式,类似于多个委托的 += 后的效果,其返回表达式是最后一个表达式决定.以下是BlockExpressio ...

  4. ASP.NET Web API 文件產生器 - 使用 Swagger

    转帖:http://kevintsengtw.blogspot.hk/2015/12/aspnet-web-api-swagger.html Swagger 是一套 API 互動文件產生器,使用 HT ...

  5. linux常用命令之ln

    ln是linux中又一个非常重要命令,它的功能是为某一个文件在另外一个位置建立一个同不的链接,这个命令最常用的参数是-s,具体用法是:ln –s 源文件 目标文件. 当我们需要在不同的目录,用到相同的 ...

  6. ip接口调用

    <?php header("Content-type: text/html; charset=utf-8"); function getIP(){ if (isset($_S ...

  7. jQuery实现页面元素智能定位

    实现过程 Js侦听滚动事件,当页面滚动的距离(页面滚动的高度)超出了对象(要滚动的层)距离页面顶部的高度,即要滚动的层到达了浏览器窗口上边缘时,立即将对象定位属性position值改成fixed(固定 ...

  8. java基础之反射机制

    一.概念 JAVA反射机制是在运行状态中,对于任意一个类,都能够知道这个类的所有属性和方法:对于任意一个对象,都能够调用它的任意一个方法和属性:这种动态获取的信息以及动态调用对象的方法的功能称为jav ...

  9. Sql Server 时间格式

    问题引出: Sql Server 里 dateTime 数据类型,会精确到毫秒.如果我们 在插入一条数据的时候,使用 GetDate() 记录 这个记录插入的时间,则会插入当前时间,精确到毫秒.在查询 ...

  10. Bootstrap_表单_表单控件

    一.输入框input 单行输入框,常见的文本输入框,也就是input的type属性值为text. 在Bootstrap中使用input时也必须添加type类型,如果没有指定type类型,将无法得到正确 ...