Hi,
I am building Oak 1.0.5 tag and I am getting errors like:
DocumentNodeStore.java:[1552,27] error: no suitable method found for
debug(String,String,int,int)
the patch
LOG.debug(
"Split operation on {}. Size before: {},
after: {}",
- id, before.getMemory(), after.getMemory());
+ new Object[]{id, before.getMemory(),
after.getMemory()});
eliminates the error, but I dont want to go through the code base
doing that, especially not to a released tag, which should just build.
Any ideas what I am doing wrong, I have never seen this before ?
My env is :
x43543:oak-test ieb$ mvn -X clean install
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da;
2013-02-19 13:51:28+0000)
Maven home: /usr/share/maven
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.8.5", arch: "x86_64", family: "mac"
log4j:WARN No appenders could be found for logger (Sisu).
log4j:WARN Please initialize the log4j system properly.
The slf4j jars in the classpath are
.m2/repository/org/slf4j/slf4j-api/1.7.6/slf4j-api-1.7.6.jar
.m2/repository/org/slf4j/jcl-over-slf4j/1.7.6/jcl-over-slf4j-1.7.6.jar
I deleted them and let mvn refetch from the repo, but it still fails.
I suspect, the compiler should be interpreting
debug(String,String,int,int)
as
debug(String,Object[])
but for some reason, is not.
Best Regards
Ian