I have been shifting my project from spring to Spring Boot and introducing embedded tomcat there were some adaptations i have to do Only issue i am facing in my Old project i have Mapper interface.
and when i compile project it start giving error
Error:(12, 5) java: No property named "schoolId" exists in source parameter(s).
I have search alot about it some said lombok dependency placement in pom i tried placing it before and after map-struct dependency but error is still here
Following is my class
Following is error i am facing
I think you should re-order the lombok and mapstruct dependencies in the pom.xml file and it works fine.
Strict ordering should be like this
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With