-------------------------------------------------------------------------------
Test set: com.itheima.BlogSystemApplicationTests
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.257 s <<< FAILURE! - in com.itheima.BlogSystemApplicationTests
contextLoads(com.itheima.BlogSystemApplicationTests) Time elapsed: 0.002 s <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'articleServiceImpl': Unsatisfied dependency expressed through field 'articleMapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'articleMapper' defined in file [E:\文档\大四上\springboot\09_《Spring Boot企业级开发教材》\源代码\Spring Boot配套源代码\blog_system\target\classes\com\itheima\dao\ArticleMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\文档\大四上\springboot\09_《Spring Boot企业级开发教材》\源代码\Spring Boot配套源代码\blog_system\target\classes\mapper\UserMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\文档\大四上\springboot\09_《Spring Boot企业级开发教材》\源代码\Spring Boot配套源代码\blog_system\target\classes\mapper\UserMapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'User'. Cause: java.lang.ClassNotFoundException: Cannot find class: User
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'articleMapper' defined in file [E:\文档\大四上\springboot\09_《Spring Boot企业级开发教材》\源代码\Spring Boot配套源代码\blog_system\target\classes\com\itheima\dao\ArticleMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\文档\大四上\springboot\09_《Spring Boot企业级开发教材》\源代码\Spring Boot配套源代码\blog_system\target\classes\mapper\UserMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\文档\大四上\springboot\09_《Spring Boot企业级开发教材》\源代码\Spring Boot配套源代码\blog_system\target\classes\mapper\UserMapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'User'. Cause: java.lang.ClassNotFoundException: Cannot find class: User
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\文档\大四上\springboot\09_《Spring Boot企业级开发教材》\源代码\Spring Boot配套源代码\blog_system\target\classes\mapper\UserMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\文档\大四上\springboot\09_《Spring Boot企业级开发教材》\源代码\Spring Boot配套源代码\blog_system\target\classes\mapper\UserMapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'User'. Cause: java.lang.ClassNotFoundException: Cannot find class: User
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\文档\大四上\springboot\09_《Spring Boot企业级开发教材》\源代码\Spring Boot配套源代码\blog_system\target\classes\mapper\UserMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\文档\大四上\springboot\09_《Spring Boot企业级开发教材》\源代码\Spring Boot配套源代码\blog_system\target\classes\mapper\UserMapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'User'. Cause: java.lang.ClassNotFoundException: Cannot find class: User
Caused by: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\文档\大四上\springboot\09_《Spring Boot企业级开发教材》\源代码\Spring Boot配套源代码\blog_system\target\classes\mapper\UserMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\文档\大四上\springboot\09_《Spring Boot企业级开发教材》\源代码\Spring Boot配套源代码\blog_system\target\classes\mapper\UserMapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'User'. Cause: java.lang.ClassNotFoundException: Cannot find class: User
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\文档\大四上\springboot\09_《Spring Boot企业级开发教材》\源代码\Spring Boot配套源代码\blog_system\target\classes\mapper\UserMapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'User'. Cause: java.lang.ClassNotFoundException: Cannot find class: User
Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'User'. Cause: java.lang.ClassNotFoundException: Cannot find class: User
Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'User'. Cause: java.lang.ClassNotFoundException: Cannot find class: User
Caused by: java.lang.ClassNotFoundException: Cannot find class: User
没有合适的资源?快使用搜索试试~ 我知道了~
基于Spring Boot的个人博客系统(源码+数据库)

共598个文件
xml:119个
png:102个
jpg:80个

1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉

温馨提示
一、功能 个人博客系统分为前台管理和后台管理。 前台管理的功能有用户登录、文章分页展示、文章详情查看、文章评论。 后台管理的功能有用户登录、系统数据展示、文章发布、文章修改、文章删除。 本系统共有6张数据表。 二、开发技术 前台使用Spring Boot支持的模板引擎Thymeleaf+jQuery完成页面信息展示。 后台使用Spring MVC+Spring Boot+MyBatis框架进行整合开发。 三、开发环境 操作系统:Windows Java开发包:JDK 8 项目管理工具:Maven 3.6.0 项目开发工具:IntelliJ IDEA 数据库:MySQL 缓存管理工具:Redis 3.2.100 浏览器:谷歌浏览器
资源推荐
资源详情
资源评论













格式:txt 资源大小:64.0B 页数:1


















收起资源包目录





































































































共 598 条
- 1
- 2
- 3
- 4
- 5
- 6

得闲喝茶
- 粉丝: 5w+
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 第十三章原子吸收.ppt
- 消防安全教育模拟试题(三).doc
- 合同评审表格表03.doc
- 北京某商厦卫生间渗漏治理施工方案.doc
- 基于路径分析与模糊数学相结合的项目管理绩效评估方法研究.pptx
- 万科随园嘉树项目策划汇报.ppt
- 无碴轨道道岔施工工程施工技术交底.doc
- 内燃机第一、二节.ppt
- 2000年贵阳某大厦策划书.doc
- 皮带机的安全防护及事故案例.ppt
- 采矿工艺中特殊性土的处理方式ppt75页.ppt
- 环境因素汇总登记表.doc
- 先张预应力空心板梁施工工艺流程图.doc
- 销售部薪酬管理办法.doc
- 全国造价员(土建)复习题三.doc
- 新教材人教B版必修第二册----4.2.2--对数运算法则------作业.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制

- 1
- 2
- 3
- 4
- 5
- 6
前往页