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.

Comments

Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership