Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-1042

clj-time.local compilation error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0, 1.0.0
    • storm-core
    • None
    • Java 8, Clojure 1.6.0, Storm 0.10.0-beta1

    Description

      In a Clojure project with a storm-core 0.10.0-beta1 dependency, attempting to compile clj-time.local throws a compiler exception, as follows:

      (require '[clj-time.local :as l])
      CompilerException java.lang.ClassCastException: org.apache.storm.joda.time.format.DateTimeFormatter cannot be cast to org.joda.time.format.DateTimeFormatter, compiling:(local.clj:35:3)

      Same error happens if the project is using clj-time brought in with storm-core, and with an explicit dep of clj-time.

      Attachments

        Activity

          People

            revans2 Robert Joseph Evans
            mgaare Michael Gaare
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: