I'm trying to use a library I created:
@file:DependsOn("io.krews:krews:0.1.1")
I'm getting the following when I run:
kscript sampleWorkflow.kts -c sampleWorkflow.conf -o local
I see the following:
Caused by: java.lang.NoSuchMethodError: com.fasterxml.jackson.core.JsonGenerator.writeStartObject(Ljava/lang/Object;)V at com.fasterxml.jackson.databind.ser.std.MapSerializer.serialize(MapSerializer.java:626) at com.fasterxml.jackson.databind.ser.std.MapSerializer.serialize(MapSerializer.java:33)
It can't find a method in a dependency of my library "krews".
Everything looks fine when I run:
kscript --package sampleWorkflow.kts ./sampleWorkflow -c sampleWorkflow.conf -o local
Could it be an issue using dependencies of dependencies? Please let me know if you need more detail.
... but not when I run with --package
I'm trying to use a library I created:
@file:DependsOn("io.krews:krews:0.1.1")
I'm getting the following when I run:
kscript sampleWorkflow.kts -c sampleWorkflow.conf -o local
I see the following:
Caused by: java.lang.NoSuchMethodError: com.fasterxml.jackson.core.JsonGenerator.writeStartObject(Ljava/lang/Object;)V at com.fasterxml.jackson.databind.ser.std.MapSerializer.serialize(MapSerializer.java:626) at com.fasterxml.jackson.databind.ser.std.MapSerializer.serialize(MapSerializer.java:33)
It can't find a method in a dependency of my library "krews".Everything looks fine when I run:
kscript --package sampleWorkflow.kts ./sampleWorkflow -c sampleWorkflow.conf -o local
Could it be an issue using dependencies of dependencies? Please let me know if you need more detail.