Error while executing below code,
Caused by: java.lang.IllegalAccessError: tried to access class com.google.common.collect.AbstractTable from class
Interesting, i replaced method references with Lambda expression and it worked.
ImmutableTable.copyOf(itemList.parallelStream() .map(item -> ProcessorInstanceProvider.get() .buildImmutableTable(item)) .collect(() -> HashBasedTable.create(), (a, b) -> a.putAll(b), (a, b) -> a.putAll(b)) );