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.

 

添加依赖

<dependency>
            <groupId>org.mapstruct</groupId>
            <artifactId>mapstruct-processor</artifactId>
            <version>1.3.0.Final</version>
            <scope>provided</scope>
        </dependency>

 

上一篇:mysql_install_db is deprecated. Please consider switching to mysqld --initialize


下一篇:解决mysql 权限问题