Which java version do you use to build? OS?
Where does the problem occur?

I haven't seen this problem so far (OS X, Java 6) - except for the
commons classloader where we did some magic with the test case and
java 6.

Carsten

2013/2/21 Ian Boston <[email protected]>:
> Hi,
> I am getting
>
> ERROR] Failed to execute goal
> org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check (default) on
> project org.apache.sling.event: Execution default of goal
> org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check failed: An API
> incompatibility was encountered while executing
> org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check:
> java.lang.NoSuchMethodError:
> java.nio.CharBuffer.subSequence(II)Ljava/nio/CharBuffer;
> [ERROR] -----------------------------------------------------
>
>
> I think is due to a dependency rather (mockito) than the code since
> indicating JDK 1.6 eliminated the problem. (-Dsling.java.version=6)
>
> Going all the way back to mockito 1.8.0 doesn't fix the issue. Has
> anyone else seen the same problem ?
> Ian



-- 
Carsten Ziegeler
[email protected]

Reply via email to