titan 0.5 throws IllegalAccessError because of guava 18.0

閲覧: 777 回
最初の未読メッセージにスキップ

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

Tomer Sagi

未読、
2014/12/29 7:39:142014/12/29
To: aureliu...@googlegroups.com
This is becoming a pain. 
Any chance of titan upgrading to guava 18.0?

Matthias Broecheler

未読、
2015/01/07 13:13:122015/01/07
To: aureliu...@googlegroups.com
yes, we will do this for 0.9.

--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraph...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/7c1b58b5-30c6-42b0-88e3-ca007c15d22c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Matthias Broecheler
http://www.matthiasb.com

Keith Player

未読、
2015/05/04 8:41:292015/05/04
To: aureliu...@googlegroups.com
You can just go into line 117 of StandardIDPool and change it to:

Stopwatch sw = Stopwatch.createStarted();

Alireza Rezaei Mahdiraji

未読、
2015/05/28 9:07:492015/05/28
To: aureliu...@googlegroups.com

How do we do that in Maven based project?

Cheers,
Alireza

Keith Player

未読、
2015/08/06 9:49:282015/08/06
To: Aurelius
I don't know if you can use this, but I've forked a version of Titan with this at:


I'll see if this can be pushed back into the Titan project.
全員に返信
投稿者に返信
転送
新着メール 0 件