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

clj-time.local compilation error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0, 1.0.0
    • Component/s: storm-core
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: