报的错误
- org.springframework.beans.factory.UnsatisfiedDependencyException:
- org.springframework.beans.factory.UnsatisfiedDependencyException
- org.springframework.beans.factory.BeanCreationException:
- org.springframework.beans.BeanInstantiationException:
- org.springframework.core.NestedIOException:
- org.apache.ibatis.type.TypeException: Could not resolve type alias ‘User’.
- java.lang.ClassNotFoundException: Cannot find class: User
使用的环境
mybatis和spring boot的整合
解决问题
在application.properties文件中,配置mybatis别名时,出现错误
prj.pojo写成了com.prj.pojo