MapStruct implementation is not working in Spring Boot Web Application

前端 未结 5 1764
醉话见心
醉话见心 2021-02-06 13:07

I am a newbie to Spring Boot and MapStruct Tool.

Earlier, A Project(written by other team using these technologies) is not starting up. Then, I had made some changes i

5条回答
  •  猫巷女王i
    2021-02-06 13:54

    springfox-swagger2 dependency is loading older version of mapstruct after excluding it and adding specific version of mapstruct dependency in pom.xml it started generating sources

    
    io.springfox
    springfox-swagger2
    2.2.2
    
     
     org.mapstruct
      mapstruct
     
    
    

    Added below map struct dependency

    
    org.mapstruct
    mapstruct-jdk8
    1.3.0.Beta1
    

提交回复
热议问题