Error creating bean with name 'sqlSessionFactory' defined in class path resource [applicationContext

来源:互联网 发布:apple mac book pro 编辑:程序博客网 时间:2024/06/16 13:03

Error creating bean with name 'sqlSessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.apache.ibatis.type.TypeException: The alias 'User' is already mapped to the value 'com.superr.powerful.progect.base.pojo.User'.

是因为存在相同的类名User,改成别的类名。就好了


0 0