Not portkey specific actually, would probably happen in any other project that has dependencies that mix asm/asm and org.ow2.asm/asm but stating here if someone runs into this:
CompilerException java.lang.RuntimeException: Unable to find static field: ASM4 in interface org.objectweb.asm.Opcodes, compiling:(portkey/ouroboros.clj:62:9)
One fix is to declare portkey before the lib that depends on asm/asm in :dependenciesof client project and exclude asm/asm. This happened to me on a project using org.apache.hadoop/hadoop-core.
Not portkey specific actually, would probably happen in any other project that has dependencies that mix
asm/asm
andorg.ow2.asm/asm
but stating here if someone runs into this:One fix is to declare portkey before the lib that depends on asm/asm in
:dependencies
of client project and excludeasm/asm
. This happened to me on a project usingorg.apache.hadoop/hadoop-core
.