Spring Boot and MapStruct: @Inject Causing Repository Class Variables To Be Null

Short post today. Just wanted to get this out there for others.

Simple, just change “@Inject” to “@Autowired”. Everything should just work.

Leave a Reply

Your email address will not be published. Required fields are marked *