About 50 results
Open links in new tab
  1. java - MapStruct - Cannot find implementation - Stack Overflow

    May 10, 2020 · Using latest Springboot and MapStruct versions and building with Maven, I am trying to implement the "Start Here" example given in the official MapStruct site My code is even simpler: …

  2. java - Map custom method mapper to Mapstruct - Stack Overflow

    Jan 30, 2018 · I'm creating a poc for using Mapstruct in my future projects. Now I have one question how to map custom methods to a special target. For example I have following interface mapper: …

  3. java - MapStruct implementation is not working in Spring Boot Web ...

    Jun 9, 2017 · 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 in Mapper Abstract …

  4. Mapstruct - How can I inject a spring dependency in the Generated ...

    I need to inject a spring service class in the generated mapper implementation, so that I can use it via @Mapping(target="x", expression="java(myservice.findById(id))")" Is this applicable in

  5. java - MapStruct error in VS Code: "No implementation was created for ...

    Nov 5, 2024 · After upgrading to VS Code 1.93.1 (october 2024), VS code started failing to generate MapStruct Mappers for my Java application with the following error : Error occured while building …

  6. Map struct : When source is null, target should NOT be set to null

    Oct 10, 2017 · 27 I am trying to map nested properties using mapstruct 1.2.0.CR2. (Example map customer.address.houseNumber to userDTO.homeDTO.addressDTO.houseNo ). Expectation : I do …

  7. Problem with Internal error in the mapping procesor while using …

    Aug 3, 2022 · 0 MapStruct automatically creates in the folder target/generated-sources/... the basic implementation to the methods declared in your interface. Try to delete the .java file autogenerated …

  8. MapStruct is not generating implementation classes

    Feb 1, 2019 · It is a solution to the problem why Mapstruct was not generating the implementation class for the Mapper. The solution as shown in your answer was to add it to the annotation processor path

  9. Mapstruct : Use of context in source argument of @Mapping

    May 16, 2019 · The mapstruct issue is that top level argument can't be made a context in downstream and context parameter can't be used as source in the first mapping. I understand all the definitions …

  10. MapStruct - @Mapper annotation don't create bean

    Nov 4, 2017 · Can you try to run vendor-api branch? Because mapstruct branch hasn't dependency injection and don't use mapper.