Vikraman Choudhury
未読、2014/09/03 15:26:432014/09/03投稿者に返信する場合はログインしてください
転送する場合はログインしてください
このグループ内のメッセージを削除する権限がありません
メールアドレスがこのグループでは匿名化されているか、メンバーのメールアドレスを表示する権限がないため、元のメッセージを表示できません
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