[ https://issues.apache.org/jira/browse/JENA-1980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17216495#comment-17216495 ]
Jan Rosecky commented on JENA-1980: ----------------------------------- This is an IntelliJ issue - upvote here: [https://youtrack.jetbrains.com/issue/IDEA-93855] . An ugly workaround for me was to change the dependencies of modules using jena-shaded-guava to its older but already deployed version (not a package requiring compilation): In pom.xml of jena-arq, jena-base, jena-shacl and other modules you may need, change: {{<dependency>}} {{ <groupId>org.apache.jena</groupId>}} {{ <artifactId>jena-shaded-guava</artifactId>}} {{ <version>3.17.0-SNAPSHOT</version>}} {{ <scope>provided</scope>}} {{ </dependency>}} {{to}} {{<dependency>}} {{ <groupId>org.apache.jena</groupId>}} {{ <artifactId>jena-shaded-guava</artifactId>}} {{ <version>3.16.0</version>}} {{ <scope>provided</scope>}} {{ </dependency>}} > Error with CacheGuava when compiling source > ------------------------------------------- > > Key: JENA-1980 > URL: https://issues.apache.org/jira/browse/JENA-1980 > Project: Apache Jena > Issue Type: Question > Components: Base > Affects Versions: Jena 3.16.0 > Environment: IntelliJ 2020.2 on Windows. > Reporter: Martin Pekár > Priority: Critical > Labels: build > Fix For: Jena 3.16.0 > > Attachments: output.txt > > > When running the tests, or compiling the source, an error is returned > indicating that package org.apache.jena.ext.com.google.common.cache does not > exists. Furthermore, the last 4 plugins in the pom.xml file are not found by > Maven. These are the following: > > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-checkstyle-plugin</artifactId> > <version>2.17</version> > > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-jxr-plugin</artifactId> > <version>2.5</version> > > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-pmd-plugin</artifactId> > <version>3.8</version> > > <groupId>com.github.spotbugs</groupId> > <artifactId>spotbugs-maven-plugin</artifactId> > <version>3.1.1</version> -- This message was sent by Atlassian Jira (v8.3.4#803005)