当前位置:网站首页>[bug solution] org apache. ibatis. type. TypeException: The alias ‘xxxx‘ is already mapped to the value ‘xxx‘
[bug solution] org apache. ibatis. type. TypeException: The alias ‘xxxx‘ is already mapped to the value ‘xxx‘
2022-07-19 05:29:00 【Small mayfly star Wei】
mework.beans.factory.BeanCreationException: Error creating bean with name 'appUserDao'
defined in file [D:\xxx\xx\xxx\target\classes\com\ai\ecs\ecop\app\dao\AppUserDao.class]:
Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory';
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'sqlSessionFactory' defined in file
[D:\xxx\xxx\xxx\target\classes\META-INF\spring\spring-context.xml]:
Invocation of init method failed; nested exception is org.apache.ibatis.type.TypeException:
The alias 'xxx' is already mapped to the value '....’
MyBatis Alias conflict , The reason is that the class name is the same , This error will be reported even if the package paths are different .!!!
It will print all the time :
DEBUG org.apache.ibatis.io.ResolverUtil Reader entry...
DEBUG org.apache.ibatis.io.ResolverUtil Find JAR URL...
DEBUG org.apache.ibatis.io.ResolverUtil Not a JAR:..
边栏推荐
猜你喜欢

Is the software testing training of lemon class reliable? This successful case of counter attack from the training class tells you

ambari 2.7.5集成安装hue 4.6

Redis source code analysis - data structure and Implementation (Dictionary dict)

Interviewer: how to solve the problem of a large number of requests for data that does not exist in redis, which affects the database?

The latest news of spring recruitment in 2022: the average salary of it Internet industry is 18500 yuan

ArcGIS 点云(xyz)数据转DEM

【AI】利用简单神经网络做动作识别——基于coco关键点

在 CDP中使用Iceberg 为数据湖仓增压

Online software testing training institutions lemon class and itest AI platform achieves strategic cooperation

C语言文件的操作
随机推荐
交换机用户模式、特权模式、全局模式、端口模式
SQL injection
Network command: network card information, netstat, ARP
ECS deployment web project
Single arm routing configuration
数据可视化
面试官:大量请求 Redis 不存在的数据,从而影响数据库,该如何解决?
Easypoi之excel多sheet导入
Implementation of synchronization interface of 6 libcurl based on libco
Face scum counter attack: thread pool lethal serial eighteen questions, the interviewer praised me straight
redis 源码分析3 间断遍历的实现
聊聊写代码的20个反面教材
Common interview questions of operating system
From 20s to 500ms, I used these three methods
Easypoi之excel简单导出
Shell脚本配置root免密登录到其他主机
ambari 2.7.5集成安装hue 4.6
C语言的高级操作
Router loopback port experiment
User mode protocol stack - UDP implementation based on netmap