Hi,

The Guava method sameThreadExecutor() was removed in version 21 [0].
I assume there must be a more recent Guava version than 15 on your
classpath.

Regards
 Marcel

[0] https://github.com/google/guava/wiki/Release21#commonutilconcurrent

On 18.01.20, 22:22, "jorgeeflorez ." <[email protected]> wrote:

    Hello all,
    I am trying to build a standalone application that will use Jackrabbit and
    Oak (a Gradle project). I am having problems when the node store is being
    built. This is the stack trace:
    
    Exception in thread "main" java.lang.NoSuchMethodError:
    
com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor()Lcom/google/common/util/concurrent/ListeningExecutorService;
    at
    
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBuilder.getExecutor(DocumentNodeStoreBuilder.java:440)
    at
    
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.<init>(DocumentNodeStore.java:554)
    
    It seems a Guava related problem. I tried to declare the dependency in my
    project to 15.0 version but the problem persists.
    
    Any help is welcome.
    
    Regards,
    
    Jorge
    

Reply via email to