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版本有问题