`
fonter
  • 浏览: 869200 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

can't find referenced method 'boolean equalsIgnoreCase(java.lang.String)'

阅读更多

今天别人遇到一个奇怪的BUG,抛出的异常如下:

can't find referenced method 'boolean equalsIgnoreCase(java.lang.String)' in class java.lang.String
Warning: there were 1 unresolved references to program class members.
         Your input classes appear to be inconsistent.
         You may need to recompile them and try again.
         Alternatively, you may have to specify the options
         '-dontskipnonpubliclibraryclasses' and/or
         '-dontskipnonpubliclibraryclassmembers'.
         If you are sure the mentioned classes are not used anyway,
         you could try your luck using the '-ignorewarnings' option.
Error: Please correct the above warnings first.

 

看了异常,发现是JDK没有equalsIgnoreCase这个方法,解决办法是更改JDK

 

这是别人的JDK,看来1.6.0-rc版本有问题

  • 大小: 4.2 KB
  • 大小: 5.8 KB
分享到:
评论

相关推荐

    can't find referenced pointcut

    spring-framework-3.1.1.RELEASE jdk1.7 环境下 can't find referenced pointcut 问题解决 换了对应的jar文件即可 aspectjrt.jar aspectj-1.6.6.jar aspectjweaver.jar

    Java编程排错技巧

    一、Eclipse提示错误The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files  调试Reflact时,Eclipse一直提示The type java.lang.CharSequence cannot be...

    sunjce_provider.jar

    Could not find class 'com.sun.crypto.provider.SunJCE', referenced from method ...不能加载到类的情况

    AndroidSupportAnnotaitons

    android.support.annotation.* 找不到的问题,

    org.eclipse.paho.mqttv5.client-1.2.5.jar解决SSL认证连接SNIHostName类不存在的问题

    MQTTv5版的客户端库,原地址:...本资源合入了解决低于android7.0报错Caused by: java.lang.ClassNotFoundException: Didn't find class "javax.net.ssl.SNIHostName"的问题。

    java中的0 can‘t find referenced pointcut runTim

    解决方法 后来经过排查,发现是自己的写法有问题,在@Around的参数中我们使用的是runtime(),这里是有问题的! @Around: 环绕增强,相当于MethodInterceptor. ...@Around: 环绕增强,相当于MethodIn

    Boolean RT.zip

    BooleanRT, 实现2个物体间的布尔运算 The extension provides the following functions: 1- Real-time or per-click Boolean execution. 2- Material, UV and texture preservation. 3- Saving to prefab. 4- ...

    Windows.PowerShell.Pocket.ReferenceD.Lee.Holmes.文字版

    ### Windows PowerShell 口袋参考书(第二版)关键知识点概览 #### 一、书籍基本信息与作者介绍 - **书籍名称**:《Windows PowerShell 口袋参考书》第二版 - **作者**:Lee Holmes - **出版社**:O'Reilly Media, ...

    android导入第三方jar包报错 如何正确导入jar包

    Could not find class ‘com.google.zxing.MultiFormatWriter’, referenced from method com.changyang.app.util.Encode2dUtil.creat2DCode 后来找到了解决方法: 在adt17 的版本之前,导入第三方jar包时要建立一个...

    CSharp 3.0 With the .NET Framework 3.5 Unleashed(english)

    - **Labels**: Labels allow you to mark specific points in your code that can be referenced by control flow statements like `goto`. - **Operator Precedence and Associativity**: This topic covers how ...

    SQLServer2005JDBC驱动

    SQLServer2005JDBC驱动 需要的朋友下载吧 Could not find class 'javax.naming.StringRefAddr', referenced from method com.mysql.jdbc.ConnectionProperties$ConnectionProperty.storeTo

    VBeeJ[VB代码转换工具]

    将VB代码转换为Java代码工具 How to Use VBeeJ For Java to convert VB.Net into Java source. ... VBeeJ For Java will expand .vbproj and .sln files to the contained referenced .vb file set.

    C# to Java 代码转换工具

    一个很强大的工具, 能将c#代码片段、文件甚至工程直接转换成java代码,并能彻底解决外部引用的DLL问题,最强的是支持c#工程的直接转换,生成的Java代码质量也很不错。软件已破解,去除了未注册版最多只能转换1000行的...

    java连接mysql数据库步骤

    ### Java使用Eclipse连接MySQL数据库详细步骤 在Java开发中,连接并操作数据库是一项非常重要的技能。本篇文章将详细介绍如何在Eclipse环境下使用Java连接MySQL数据库,并提供具体的步骤及示例代码。 #### 一、...

    汇编模拟题(附答案)

    【汇编语言基础知识点】 1. **CPU地址概念**: - CPU在访问存储器时,使用的地址可以分为物理地址、逻辑地址、段地址和偏移地址。在8086/8088系统中,物理地址由段地址和偏移地址组合而成,选项A的"物理地址"是...

    android-a programmer's guide

    Adding the JAVA_HOME Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Compiling and Installing the Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

    aspectj-1.6.6,aspectjrt,aspectjweaver

    spring-framework-3.1.1.RELEASE jdk1.7 环境下can't find referenced pointcut 问题的解决,程序程序无问题的情况下,更换jar文件即可。亲测可用!

    Find Reference 2

    - See all assets not being referenced by any other asset so you can delete them all without worrying about breaking any references. - GUID Tools Advanced tool where you can see GUID of each asset ...

    完整jar包资源,COULD NOT FIND stream,包缺失使用

    在Java开发过程中,我们经常会遇到使用Maven或Gradle等构建工具进行项目构建时,由于依赖库缺失导致的错误。标题中的"COULD NOT FIND stream"提示,表明在执行构建命令时,系统无法找到名为`stream`的特定版本...

Global site tag (gtag.js) - Google Analytics