com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class (through reference chain: com.jd.lean.mjp.dal.entity.Province_$$_ jvste70_ 0[“handler”])
1. Background
When using mybatis one to many collection query, an error is reported
2. Solution
One to many, entity class, with annotation
@ jsonignoreproperties (value = {“handler”})
3. Reasons
JSON serialization does not ignore some properties in the bean that do not need to be converted, such as handler
Read More:
- [Jackson exception] com.fasterxml.jackson . databind.JsonMappingException Exception handling method
- Interpreter error /com.fasterxml.jackson.databind.JavaType
- Spring jacjson version conflict “nosuchme” thodError:com.fasterxml.jackson.databind.ObjectMapper.canSerialize “
- [Solved] No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor and no propert
- Class file for com.sun.beans.introspect.propertyinfo not found
- The main class com.hp.springbootapplication cannot be found or loaded
- Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class is `com.mysql.cj.jdb
- Java error invaliddefinitionexception
- Solution to error report of Jackson coordinate introduced by spring
- After verifying parameters with validation, springboot reports an error: no constructor found in package name + class name
- NoClassDefFoundError: org/codehaus/jackson/map/ObjectMapper
- java.lang.AbstractMethodError: Receiver class com.alibaba.cloud.sentinel.feign.SentinelContractHolde
- As Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
- [unity] Android package error java.lang.ClassNotFoundException Did not find class com.unity3d . player.MainActivity
- [Solved] org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.zyh.springboot.
- Field userrepository in com.example.demo2.service.imp.UserServiceImp required a bean of type ‘com.ex
- There is no getter for property named ‘id‘ in ‘class java.lang.Integer‘
- Class ‘PHPWord_Writer_Word2003‘ not found
- Error: the main class usertest could not be found or loaded
- org.springframework.dao.InvalidDataAccessApiUsageException: Bean object must not be null; nested exc