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>
相關文章
相關標籤/搜索