Re: Error while writing process functions

2022-01-04 Thread Caizhi Weng
Hi! The last expression in your try block is validationMessages.foreach(msg => println(msg.getMessage)), which does not produce anything. You need to use an expression that produces type T in your try block. Siddhesh Kalgaonkar 于2022年1月5日周三 02:35写道: > After a lot of struggle with the pure Jacks

Error while writing process functions

2022-01-04 Thread Siddhesh Kalgaonkar
After a lot of struggle with the pure Jackson library which doesn't have a strict mode within it due to which I wasn't able to validate the JSON schema. I finally found one way of doing it but now I am not able to map the correct *Success* and *Failure* messages in order to call the Process Functio