
MapStruct – Java bean mappings, the easy way!
MapStruct is a code generator that greatly simplifies the implementation of mappings between Java bean types based on a convention over configuration approach. The generated mapping code uses …
MapStruct 1.6.3 Reference Guide
1. Introduction MapStruct is a Java annotation processor for the generation of type-safe bean mapping classes. All you have to do is to define a mapper interface which declares any required mapping …
Documentation – MapStruct
Documentation Installation How to download and set it up with different build tools More... Reference Guide The reference documentation and API docs for the current stable and previous versions of …
Reference Guide – MapStruct
1.6.3 (November 9th 2024; latest stable release) Reference guide: HTML | PDF API documentation: JavaDoc Migration notes Spring Extensions (November 15th 2025) Reference guide: HTML API …
Installation – MapStruct
Add the javac task configured as follows to your build.xml file in order to enable MapStruct in your Ant-based project. Adjust the paths as required for your project layout.
Frequently Asked Questions (FAQ) – MapStruct
Jan 16, 2014 · MapStruct reports this as “ambiguous mapping method” and lists the methods from which it cannot make a selection. Here, you have to guide MapStruct in making the correct mapping.
MapStruct 1.3.1.Final Reference Guide
1. Introduction MapStruct is a Java annotation processor for the generation of type-safe bean mapping classes. All you have to do is to define a mapper interface which declares any required mapping …
IDE Support – MapStruct
One of the big advantages of MapStruct is the early feedback on problems with the mapping configuration. To fully leverage this in your IDE, make sure the annotation processor runs with each …
MapStruct Spring Extensions 2.0.0 Reference Guide
Sep 25, 2023 · Preface This is the reference documentation of the MapStruct Spring Extensions, an annotation processor designed to complement the core MapStruct project with features specific to …
Testing MapStruct
MapStruct uses the JUnit 4 framework for writing tests and AssertJ for writing test asserts. Since MapStruct is an annotation processor it needs to be invoked by a Java compiler in order for us to …