We're coming across this problem with LocalDynamoD...
# server
d
We're coming across this problem with LocalDynamoDB (the JAR of which still ships with a bundled Kotlin 1.3.72 and hence is basically incompatible with everything Kotlin if you want it in the same process!). Has anyone else worked around this - or even is there someone here who works for Amazon who can help to get it sorted? https://github.com/aws/aws-sdk-java-v2/issues/2487
j
🤔 what order do you have the files in the classpath? IIRC, classpath is searched in order, so the first occurrence of the class will be loaded preferentially. If the bytecode of the classes is compatible between 1.3.72 and 1.6, and the code doesn't require recompilation for the later sdk version, it is possible that just reordering the classpath might make it work? its not very nice, but it might be "good enough".
d
Can you fork a copy and rebuild with your matching kotlin version?