自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Druid连接池连接数据库

1. Mysql数据库创建 新建一个info数据库 create database info; 新建student表 Create table student( id int primary key auto_increment, name varchar(32) nut null, age int nut null, course varchar(32) nut null ); 插入数据 insert into student(name, age,

2021-07-04 15:58:48 158

原创 SpringMVC入门案例

1. SpringMVC的入门程序 1. 创建maven-WEB工程,在pom.xml中引入开发的jar包 pom.xml: <!-- 版本锁定 --> <properties> <spring.version>5.0.2.RELEASE</spring.version> </properties> <dependencies> <dependency> <groupId>org.spring

2021-07-04 09:40:04 115

原创 JDBC连接数据库

JDBC连接数据库 1.Mysql数据库创建 新建数据库-info create database info; 新建student表 create table student( id int primary key auto_increment, name varchar(32) nut null, age int nut null, course varchar(32) nut null ); 插入数据 insert into student(na

2021-06-29 19:03:30 126

原创 Could not find resource mybatis-config.xml解决办法

使用mybatis进行配置,在工具类中获取sqlSession对象,写一个main方法进行测试时显示错误: Could not find resource mybatis-congig.xml 数据显示为 null 检查错误行,25,39 显示没有获取到sqlSession对象 看代码在引入mybits配置文件时路径是否正确 与配置文件进行对比,发现配置文件名不小心写错 修改后再次进行测试,获取到对象,显示数据,解决! ...

2021-06-27 10:24:28 289

空空如也

空空如也

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

TA关注的人

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