org.fusesource.scalate.CompilerException: Compilation failed: <file>:6.15 error: value toLocalDate is not a member of org.joda.time.DateTime

32 views
Skip to first unread message

Nils Kilden-Pedersen

unread,
Aug 22, 2011, 4:47:21 PM8/22/11
to sca...@googlegroups.com
But it is.

Nils Kilden-Pedersen

unread,
Aug 22, 2011, 9:55:58 PM8/22/11
to sca...@googlegroups.com
Ok, turns out that the latest version of Joda Time (2.0) has a dependency on joda-convert, and although it's stated in the docs: 

- Add @FromString/@ToString annotations from joda-convert
  This does NOT require the inclusion of joda-convert at runtime!

I conveniently forgot that I'm dealing with the Scala compiler when using Scalate. And the error message wasn't particularly clear.
Reply all
Reply to author
Forward
0 new messages