自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.springfr

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping’: Invocation of init method failed; nested exception is java.lang.IllegalStateExcepti

2022-03-08 19:39:51 1417

原创 BeanCreationException: Error creating bean with name ‘org.springframework.web.servlet.mvc.method.ann

BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous @ExceptionHan

2022-03-05 22:44:16 2360

原创 com.alibaba.druid.support.logging.JakartaCommonsLoggingImpl error 严重: create connection SQLException

在spring与mybatis的整合框架中使用阿里云的数据库连接池时,出现了一个非常有意思的错误,在控制台中报出的错误信息居然有本机电脑的用户名。并且在网上搜索错误信息时,大部分是对数据库配置信息的各种修改。具体错误代码如下:com.alibaba.druid.support.logging.JakartaCommonsLoggingImpl error严重: create connection SQLException, url: jdbc:mysql://localhost:3306/mytes

2022-02-27 17:12:10 3905

原创 mybatis和Spring整合时的错误

错误信息:警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [applicationContext.xml]:

2022-02-27 16:25:45 168

原创 警告: Exception encountered during context initialization

警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘someService’ defined in class path resource [applicationContext.xml]: Initializati

2022-02-25 10:33:39 1237

原创 idea中spring基本配置与使用

Spring在maven项目结构下的基本配置与使用(idea)1.在pom文件中添加spring的依赖用来导入spring的jar包,导入依赖代码如下。<dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.2.5.RELEASE</versi

2022-02-23 23:10:05 1452

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除