自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 时间date工具

package com.gzlp.core.util;import java.text.ParseException;import java.text.SimpleDateFormat;import java.util.*;import java.util.regex.Matcher;import java.util.regex.Pattern;/** * @author:Neptune * @Description:DateUtil 提供一些常用的时间想法的方法 */public

2020-09-27 18:44:48 194

原创 安装redis

1.安装C语言环境yum install gcc-c++2.下载redis2.1解压tar zxvf redis-3.0.0.tar.gz3.移动redismv 文件 路径(usr)如:mv redis-4.0.11 usr4.查看目录ll5.进入目录cd usr6.安装redismake install PREFIX=安装路径如:make install P...

2019-11-06 20:19:49 128

原创 Linux命令,链接

https://blog.csdn.net/xufei512/article/details/53321980

2019-11-06 17:04:59 134

原创 实现成功的状态代码封装类

package com.zyq.pojo;import java.util.HashMap;import java.util.Map;/** * * 状态信息返回类 * * * */public class Mag { private int code; private String msg; private Map<String...

2019-10-25 16:28:17 182

原创 冒泡排序

冒泡排序两个相邻的元素进行比较,一共有两个循环,外面的循环比较的次数是数组长度-1,里面的是长度-1-外面的变量。两个循环都是从0开始遍历public class hello { public static void main(String[] args) { int[] a=new int[]{5,4,2,3,9,8};//创建数组,需要new 存放在堆内存中 for(int...

2019-10-23 19:15:14 138

原创 ajax返回数据的遍历$.each(json,function(index,item)

$.each(json,function(index,item)里面的index代表当前循环到第几个索引,item表示遍历后的当前对象,比如json数据为: [{“name”:“a”},{“name”:“b”},{“name”:“c”}]使用foreach遍历后,index,item 依次为,0,{“name”:“a”}1,{“name”:“b”}2,{“name”:“c”}...

2019-10-16 08:49:37 891

原创 没有连接数据库

*************************** APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be ...

2019-09-09 23:57:05 372

原创 mapper路径配置错误

Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class Action: Consider the following: I...

2019-09-08 17:52:10 431

原创 springboot+mybatis+thymeleaf,在如果出现下面的错误

This application has no explicit mapping for /error, so you are seeing this as a fallback. Sun Sep 08 14:30:22 CST 2019 There was an unexpected error (type=Internal Server Error, status=500). Error re...

2019-09-08 14:42:46 275

原创 在springboot整合mybatis时,出现错误

he method’s class, org.apache.ibatis.builder.xml.XMLConfigBuilder, is available from the following locations:*把依赖 <!--<dependency> <groupId>org.apache.ibatis</groupI...

2019-09-08 10:33:15 549

原创 NoSuchMethodException: com.zyq.pojo.User.<init>()

NoSuchMethodException: com.zyq.pojo.User.()## 标题实体类没有空的构造方法

2019-09-06 19:19:56 174

原创 处理Mybatis框架的时候,出现下面错误时Error querying database. Cause: java.lang.IllegalArgumentException: Mapped Sta

Error querying database. Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for mapper.UserMapper.selAll ### Cause: java.lang.IllegalArgumentException: Mapp...

2019-09-04 19:29:52 11716

原创 spring的aop,配置通知的时候出现but was actually of type 'com.sun.proxy.$Proxy2' at错误提示

**Exception in thread “main” org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named ‘userService’ is expected to be of type ‘com.zyq.service.impl.UserServiceImpl’ but was actual...

2019-09-04 10:26:08 356

原创 Spring的注解Autowired 的自动注入属性值,出现空指针异常问题

**@TOCException in thread “main” java.lang.NullPointerException at com.zyq.print.Print.prints(Print.java:26) at com.zyq.test.Test.main(Test.java:23) 出现这样的情况,是因为在applicationContext.xml文件中没有配置扫描注解,此时需要...

2019-09-03 21:03:08 1622

空空如也

空空如也

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

TA关注的人

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