I'm trying to use JsonSerializer with very simple bean with just string property and the code "String json = new JsonSerializer().serialize(item);" raises the error as below. Any idea whats wrong?
Exception in thread "AgentThread: JavaAgent" java.lang.NoSuchMethodError: jodd/Jodd.init(Ljava/lang/Class;)V
at jodd.json.JoddJson.init(JoddJson.java:77)
at jodd.json.JoddJson.<clinit>(JoddJson.java:73)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:199)
at jodd.json.JsonSerializer.<init>(JsonSerializer.java:30)
at tcl.JsonExporter.run(JsonExporter.java:18)