Caused by: org.apache.ibatis.type.TypeException: The alias 'BevaContentAndAlbumShareModel' is already mapped to the value 'com.giska.resource.domain.beva.BevaContentAndAlbumShareModel'.
1、springboot 项目
2、这个BevaContentAndAlbumShareModel类指定定义了一下还没有用到
3、没有用别名
4、配置文件中配置了
#mybatis实体,映射文件
mybatis.type-aliases-package=com.giska.resource.domain
mybatis.mapper-locations=classpath:mapper/*Mapper.xml
启动类中
@SpringBootApplication()
@MapperScan("com.giska.resource.mapper")
mapper文件只有一个并且与这个实体无关