Digital Marketing

Fix: Restful web service: org.codehaus.jackson.map.JsonMappingException: No suitable constructor found for type [simple type, class can not instantiate from JSON object (need to add/enable type information?)

If you encounter:

org.codehaus.jackson.map.JsonMappingException: No suitable constructor found for type [simple type, class can not instantiate from JSON object (need to add/enable type information?)
One problem is that you need to check your constructor. And don't forget that you need a constructor without any parameter there. This constructor will be created by JVM by default if you don't have any constructor. You need to create it by yourself if you add other constructors.

Popular posts from this blog

How to fix Google Apps Script: Script function not found: doGet

Creating sort index in MySQL

How to fix: df shows no file systems processed on Linux