Skip to content

Crux and codox #192

@patrick-galvin

Description

@patrick-galvin

I ran into a problem running codox with the latest crux. I assumed it was something to do with the asm 7.1 dependency from rocksdb. I'm not very confident how good the fix is, but it does work for me

{:type java.lang.Exception,
    :message "Could not load codox writer codox.writer.html",
    :at [codox.main$writer$fn__747 invoke "main.clj" 16]}
   {:type clojure.lang.Compiler$CompilerException,
    :message "Syntax error macroexpanding def at (html.clj:66:1).",
    :data
    {:clojure.error/phase :execution,
     :clojure.error/line 66,
     :clojure.error/column 1,
     :clojure.error/source "html.clj",
     :clojure.error/symbol def},
    :at [clojure.lang.Compiler$DefExpr eval "Compiler.java" 470]}
   {:type java.lang.reflect.InvocationTargetException,
    :at
    [sun.reflect.NativeConstructorAccessorImpl
     newInstance0
     "NativeConstructorAccessorImpl.java"
     -2]}
   {:type java.lang.RuntimeException,
    :message "Error creating extended parser class: null",
    :at [org.parboiled.Parboiled createParser "Parboiled.java" 58]}

In the codox project.clj:

Remove

[org.ow2.asm/asm-all "5.0.3"]

Add

[org.parboiled/parboiled-java "1.3.0"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions