自定义博客皮肤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.context.ApplicationContextException: Failed to start bean 'org.springframework.a

笔者在试用RabbitMQ测试TTL时报的这么个错org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.amqp.rabbit.config.internalRabbitListenerEndpointRegistry'; nested exceptio...

2020-04-29 08:39:38 28303 1

原创 获取存储在session里数据的方法

// 获取session HttpSession session = request.getSession(); // 获取存储在session里所有的键值 Enumeration<String> attrs = session.getAttributeNames(); // 遍历attrs中的键与值while(attrs.hasMoreElements()){...

2020-03-08 23:00:43 2000

原创 Tomcat项目部署时启动报错org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start

IDEA中项目重新部署启动时候,报了一长串错误。完整报错信息如下:03-Mar-2020 16:31:02.731 严重 [RMI TCP Connection(8)-127.0.0.1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.cat...

2020-03-03 16:40:40 3724 3

原创 解决org.apache.ibatis.binding.BindingException: Type interface XXX is not known to the MapperRegistry

在Java使用mybatis框架,笔者运行一个例子的时候,IDEA报了这样的一个错:org.apache.ibatis.binding.BindingException: Type interface com.itheima.dao.RoleDao is not known to the MapperRegistry. at org.apache.ibatis.binding.MapperR...

2020-03-02 01:37:38 18831 3

原创 解决org.apache.ibatis.binding.BindingException: Type interface XXX is not known to the MapperRegistry

笔者在做mybatis的一个例子的时候,出现了下面这一个报错org.apache.ibatis.binding.BindingException: Type interface com.myBatis.dao.AccountDao is not known to the MapperRegistry. at org.apache.ibatis.binding.MapperRegistry.g...

2020-03-01 10:59:03 2265 2

原创 JDBC存在的问题及解决办法

一、JDBC操作的步骤1.导入数据库驱动jar包2.编写程序a. 注册驱动(要操作哪种数据库,就要注册哪种数据库的驱动类);b. 获取连接,连接上数据库c. 创建SQL执行平台(SQL执行平台提供了执行SQL语句的方法)d. 执行SQL语句e. 处理结果f. 释放资源二、JDBC存在的问题1. 重复代码问题,每次操作数据库都需要:注册驱动获取连...

2020-01-10 16:13:22 1485 1

空空如也

空空如也

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

TA关注的人

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