自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 bootstrap-treeview 案例。

<!DOCTYPE html><html><head > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style> .buttonclass { margin-righ

2018-11-07 14:40:22 1411

原创 初识springboot 的一些问题(刚入门遇见的一些报错)

启动项 pack为com.zmf 则 其他自动扫描的文件需要 com.zmf包及其子包下,不然会报错。@MapperScan 可以扫描 包下的所有mapper文件,不加@MapperScan,则需要在mapper文件加@MapperController跳转到如html文件中:不加入上图dependency ,会出现 <meta> 要以</meta>结...

2018-10-10 16:41:56 136

转载 java jdk动态代理和CGLib。

代理模式:代理类和被代理类实现共同的接口(或继承),代理类中存有指向被代理类的索引,实际执行时通过调用代理类的方法、实际执行的是被代理类的方法。JDK动态代理只能对实现了接口的类生成代理,而不能针对类CGLIB是针对类实现代理,主要是对指定的类生成一个子类,覆盖其中的方法(继承)代码如下:测试类:...

2018-09-10 17:55:13 128

原创 spring 依赖注入bean的属性

对于类成员变量,spring支持构造函数注入,属性setter方法注入0. domain类public class Student { private String name; private int age; public Student(){ } public Student(String name,int age){ this.name=name; this.

2017-11-16 14:47:22 197

原创 spring ioc 容器装配bean

applicationContext.xml 配置<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework

2017-11-13 09:33:55 142

原创 json-- google json 组件

package com.zmf.utils;import java.util.List;import java.util.Map;import com.google.gson.ExclusionStrategy;import com.google.gson.FieldAttributes;import com.google.gson.Gson;import

2017-10-31 11:36:27 320

原创 mac 启动mysql问题

提示错误: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)解决方式:bash mysql.server start

2017-10-31 09:08:18 193

空空如也

空空如也

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

TA关注的人

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