Java cannot resolve org.apache.activemq.util -


fairly new java , gradle. project cannot resolve import org.apache.activemq.util.recoverablerandomaccessfile;

code snippet:

package org.apache.activemq.store.kahadb.disk.util;  import java.io.file; import java.io.randomaccessfile; import java.util.arraylist; import java.util.arrays;  import org.apache.activemq.util.recoverablerandomaccessfile; 

build.gradle snippet:

dependencies     compile project(':caffeine')  compile libraries.guava     testcompile test_libraries.junit    testcompile test_libraries.truth    testcompile test_libraries.easymock    testcompile test_libraries.guava_testlib    compile group: 'org.apache.activemq', name: 'activemq-kahadb-store', version: '5.13.3'    compile group: 'org.apache.activemq', name: 'activemq-all', version: '5.10.0' 

why not resolve? working. thank you

try adding repositories section build.gradle file.

repositories {    mavencentral() } 

also, assume simplicity sake you've omitted lot of build.gradle file (like curly braces surrounding dependencies). if not, there's lot more work here.