I am going through the cordapp template tutorial.
When trying to run ./gradlew runExampleClientRPC from the terminal I get the following error:
Exception in thread "main" com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID: 70
However it runs fine if I run it through intelliJ.
Any idea why this would happen?