Hi Chris, I used to forget how to fix this issue, so updated the docs for using Eclipse to dev Jena. https://jena.apache.org/tutorials/using_jena_with_eclipse.html Give it a try and let us know if we need to update the docs. CheersBruno
Sent from Yahoo Mail on Android On Tue, 12 Sep 2017 at 5:47, Chris Tomlinson<[email protected]> wrote: Hi, I’m having a bit of a hassle getting eclipse Mars 4.5.2 to hook up properly with imports like: > import org.apache.jena.ext.com.google.common.cache.CacheBuilder ; > import org.apache.jena.ext.com.google.common.cache.CacheStats ; I "git clone" jena and mvn clean install mvn eclipse:eclipse and then import the various submodules as existing maven projects into eclipse. Once the imports complete there are a few of the submodules with syntax errors in eclipse centered on the shaded guava. The projects with errors all have jena-shaded-guava as a project dependency in the .project and also a library reference to M2_REPO/com/google/guava/guava/21.0/guava-21.0.jar in the .classpath. The jena repo and submodules build and test fine from the command line. I’ve run maven update project on all of the jena projects and once the “update project” process completes the errors are cleared (a result of “clean projects” being checked) from all of the projects and then during the “building workspace” process the errors reappear one-by-one as the workspace is rebuilt. I appreciate any ideas about what I’m stumbling on. Thanks, Chris
