Skip to content

Commit a39f27a

Browse files
committed
Update Dockerfile to use non-all APOC jar to avoid Guava IncompatibleClassChangeError
1 parent 6f06a29 commit a39f27a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ RUN apt-get -y update && apt-get -y install tar gzip curl wget zip unzip
2626

2727
COPY loadKB.sh /opt/VFB/
2828
ADD https://github.com/VirtualFlyBrain/neo4j2owl/releases/download/1.2.3-PRE/neo4j2owl.jar /var/lib/neo4j/plugins/neo4j2owl.jar
29-
# Pin APOC 4.2.x explicitly - NEO4JLABS_PLUGINS downloads an incompatible version causing Guava IncompatibleClassChangeError
30-
ADD https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/4.2.0.9/apoc-4.2.0.9-all.jar /var/lib/neo4j/plugins/apoc.jar
29+
# Use non-all APOC jar which doesn't bundle Guava - avoids IncompatibleClassChangeError on MapMakerInternalMap
30+
ADD https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/4.2.0.9/apoc-4.2.0.9.jar /var/lib/neo4j/plugins/apoc.jar
3131

3232
RUN mkdir -p /opt/VFB/backup/
3333

0 commit comments

Comments
 (0)