sqldump

(coffee) => code

Joda Time With Scala

When trying to use Joda-Time in a Scala project, I encountered a rather cryptic error:

1
2
scala: error while loading Instant, class file '/Users/asdf/.m2/repository/joda-time/joda-time/2.3/joda-time-2.3.jar(org/joda/time/Instant.class)' is broken
(class java.lang.RuntimeException/bad constant pool tag 9 at byte 48)

This can be solved by adding the joda-convert dependency into Maven/SBT.