Consider defining a bean of type 'com.*.*.mapper.*.*Mapper' in your configuration.

 

@Mapper 不能加载的问题
Consider defining a bean of type 'com.*.*.mapper.*.*Mapper' in your configuration.

 

添加依赖app

<dependency>
            <groupId>org.mapstruct</groupId>
            <artifactId>mapstruct-processor</artifactId>
            <version>1.3.0.Final</version>
            <scope>provided</scope>
        </dependency>
相关文章
相关标签/搜索