自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 bootstrap学习笔记(所有笔记及bug处理过程杂合版)

学习bootstrap

2022-01-10 02:33:05 279

原创 vue学习经验及bug

vue精选版本安装代码 npm install -g @vue/cli@3.11.0 安装3.11.0版本的vue

2022-01-08 22:07:24 323

原创 AJAX实现的局部刷新,虽然完成了局部刷新,但是页面跳到了顶部

今日份小发现:如题 我有个a标签,功能是点击以后加载更多数据 href一开始写的是# 接着执行onclick方法,执行ajax,返回数据添加到页面底部 虽然实现了,但是页面跳到了最上面,测试发现原来是 href写了#号的原因 解决方法:<a href="javascript:void(0)" onclick="xxxx()">xxx</a> ...

2020-02-15 11:12:07 637

原创 hibernate的session的No Hibernate Session bound to thread

报错: org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here ssh框架(struts2,springmvc,hibernate) 报错语句:Sessio...

2020-02-14 22:02:43 252

原创 tomcat下载安装

下载地址:https://tomcat.apache.org/ 官网左侧导航栏选择tomcat版本 点击进入可以选择子版本 core :第一个是解压版,最后一个是安装版 解压版下载完在eclipse里配一下 安装版直接双击安装 ...

2019-12-18 20:56:27 211

原创 myBatis 学习笔记

基础5步走 创建一个用于查看控制台sql语句的.properties文件 创建MyBatis核心配置文件 创建映射文件mapper,用于对数据库进行操作 创建一个普通的类定义一些属性 创建一个测试类进行测试 下方为一个简单的测试,数据库表为t_customer,id自增,username,jobs,phone 1.log4j.properties的创建 # Global logging confi...

2019-07-07 20:49:04 200

原创 Spring Bean的装配

Bean的装配可以理解为依赖关系注入,Bean的装配方式即Bean依赖注入的方式 Bean的装配方式有3种,基于xml,基于注解Annotation,自动装配 1.基于xml装配 1.1设值注入 Spring实例化Bean的过程中,首先调用Bean的默认构造方法来实例化Bean,然后通过反射的方式调用setter方法来注入属性值。因此,设值注入要求Bean必须满足以下两点 Bean类必须提供一个默...

2019-07-07 00:23:19 201

原创 Spring Bean实例化3种方式

1.Bean的实例化(3种) 1.1构造器实例化 创建Bean1类,无需添加任何方法 通过Bean对应类中的无参构造方法实例化 <bean id="xxx" class="带无参构造方法的xxx类"/> 1.2静态工厂实例化 创建一个Bean2类,无需添加任何方法 创建一个A类,并在A类中创建一个静态方法xxx来返回bean实例 public ...

2019-07-06 18:34:54 189

原创 spring容器创建

Sring核心容器 1.2.1 BeanFactory 1.2.2 ApplicationContext(BeanFactory的子接口) java项目中实例化的两种方法 1.通过ClassPathXmlApplicationContext创建(从类路径中查找) ApplicationContext applicationCont...

2019-07-06 15:35:27 139

原创 解决spring事务启动错误can be found for element 'tx:advice'.

spring事务启动报错(eclipse,jdk1.8,spring4.3.6) Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'tx:...

2019-07-05 17:17:04 440

原创 jdbc报错集合

The server time zone value '???ú±ê×??±??' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to ...

2019-07-04 23:47:31 274

原创 Spring启用注解扫描机制报错

spring启用注解扫描机制:加上<context:annotation-config />这句话报: The prefix "context" for element "context:annotation-config" is not bound. 看看spring头部<beans>属性是否缺少: xmlns:context="http://www.sprin...

2019-07-01 15:36:59 684

原创 SSM框架学习笔记:创建spring容器出错

在进行创建spring容器的时候出现了这样的错误提示: 错误原因:导包错误 改为: import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; ...

2019-06-30 16:19:20 227

空空如也

空空如也

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

TA关注的人

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