Result Maps collection already contains value for xxx.xxx.dao.BaseResultMap错误

重复引入jar包 问题

解决方法, 在pom文件中排除这个jar包

原:

<dependency>
            <groupId>com.hedu</groupId>
            <artifactId>sweet-template-webapp</artifactId>
            <version>1.0</version>
</dependency>

排除后:

复制代码
<dependency>
            <groupId>com.hedu</groupId>
            <artifactId>sweet-template-webapp</artifactId>
            <version>1.0</version>
            <exclusions>
                <exclusion>
                    <groupId>com.hedu</groupId>
                    <artifactId>sweet-starter-file-client</artifactId>
                </exclusion>
            </exclusions>
</dependency>
复制代码

项目就可以正常启动了

posted @   Li_ll  Views(17)  Comments(0Edit  收藏  举报
点击右上角即可分享
微信分享提示