Vikraman Choudhury
unread,Sep 3, 2014, 3:26:43 PM9/3/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to aureliu...@googlegroups.com
Hi,
While trying to update my scala project to titan 0.5, I got a java
exception at startup, with the following stacktrace.
[error] (run-main-0) java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool
java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool
at com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool.waitForIDRenewer(StandardIDPool.java:118)
at com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool.close(StandardIDPool.java:214)
at com.thinkaurelius.titan.graphdb.database.idassigner.VertexIDAssigner.close(VertexIDAssigner.java:143)
at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.shutdown(StandardTitanGraph.java:155)
After checking the sbt dependency graph, I noticed that titan's guava
15.0 dependency was being evicted by guava 18.0 which was being pulled
in by a different package.
I managed to get it working by forcing guava to 15.0 in build.sbt.
"com.google.guava" % "guava" % "15.0" force()
Just FYI.
--
Vikraman