Can't make Jackson and Lombok work together

后端 未结 14 1425
伪装坚强ぢ
伪装坚强ぢ 2020-11-27 13:48

I am experimenting in combining Jackson and Lombok. Those are my classes:

package testelombok;

import com.fasterxml         


        
14条回答
  •  广开言路
    2020-11-27 14:14

    You need to have this module as well. https://github.com/FasterXML/jackson-modules-java8

    then turn on -parameters flag for your compiler.

    
        
            
                
                    org.apache.maven.plugins
                    maven-compiler-plugin
                    3.7.0
                    
                        
                            -parameters
                        
                    
                
    

提交回复
热议问题