参考 : java - MAPSTRUCT - Field mapperDTO in CustomerServiceImpl required a bean of type 'com.howtodoinjava.demo.mapper.MapperDTO' that could not be found - STACKOOM
mapstruct Field converter required a bean of type that could not be found.
场景
mapstruct 接口类作为依赖在其他工程添加之后启动后
解决
Application启动类添加扫描注解包为mapstruct接口包全包名
@ComponentScan({"cn.nordrassil.core.convert"})