自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Maven笔记

原文:https://www.yuque.com/uy2gee/yfyp6h/mavenMaven配置Maven配置生效原则默认情况:配置生效(从前往后进行覆盖,不同配置合并)~/.m2文件下 settings.xml 本机安装的apache maven文件下conf/settings.xml项目中pom.xml其本质:~/.m2/settings.xml是约定,在IDEA中maven默认指定了这个文件路径,使用时会遵循上述的默认情况,如果我们在IDEA中指定了maven的settin

2021-08-17 18:49:07 801 1

原创 PlumeCode | 一个简单易用且功能强大的代码生成器

PlumeCode:一个简单易用且功能强大的代码生成器(Java & ElementUI),熟练使用你就是CURD代码挖掘机!!! Gitee地址 ⭐⭐⭐新项目,需要大家的支持,欢迎Star、PR、Issue⭐⭐⭐ PlumeCode 不仅简单、而且强大支持多数据库Mysql、H2、SqlServer、Oracle、PostgreSQL 支持多种持久层框架MybatisPlus、Mybatis、Jpa、tk-Mybatis、Hibernate

2021-07-21 22:47:07 605 5

原创 为什么单例模式中需要加上volatile?

https://blog.i1i1i.cn/archives/wei-shen-me-dan-li-mo-shi-zhong-xu-yao-jia-shang-v-o-l-a-t-i-l-e-

2021-04-16 16:10:04 212

原创 replace和replaceAll方法的区别

https://blog.i1i1i.cn/archives/r-e-p-l-a-c-e-he-r-e-p-l-a-c-e-a-l-l-fang-fa-de-qu-bie

2021-04-16 16:09:25 153

原创 SonarLint使用

https://blog.i1i1i.cn/archives/sonarlint

2021-04-16 16:08:48 318

原创 ThreadPool线程池介绍及使用

https://blog.i1i1i.cn/archives/threadpoolexecutor

2021-04-16 16:08:02 108

原创 异常打印e.toString()、e.getMessage()、e.printStackTrace()区别

https://blog.i1i1i.cn/archives/exception-error-stack-trace

2021-04-16 16:07:20 319

原创 jQuery实用总结

jQuery实用 一、选择网页元素jQuery的基本设计和主要用法,就是"选择某个网页元素,然后对其进行某种操作"。这是它区别于其他函数库的根本特点。  使用jQuery的第一步,往往就是将一个选择表达式,放进构造函数jQuery()(简写为$),然后得到被选中的元素。选择表达式可以是CSS选择器: $(document)//选择整个文档对象   $('#myId')//选择ID为myId的网页元...

2018-04-02 16:49:05 215

原创 Servlet.service() for servlet [springServlet] in context with path [] threw exception [Handler proce

Servlet.service() for servlet [springServlet] in context with path [] threw exception [Handler processing failed; nested exception is java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config...

2018-03-28 11:41:07 3808

原创 No EntityManager with actual transaction available for current thread - cannot reliably process 'mer

No EntityManager with actual transaction available for current thread - cannot reliably process 'merge' call; nested exception is javax.persistence.TransactionRequiredException: No EntityManager with ...

2018-03-28 11:39:51 2721

原创 [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated c

[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' which is not functionally dependent on columns in GROUP BY

2017-11-24 21:11:03 9924 2

原创 powerdesigner16.5使用总结

1、powerdesigner16.5将name字段附到comment中,并生成sql在Tools-->Execute Commands-->Edit/Run Script然后将下面的代码复制进去执行,再去生成SQL语句的时候就将name字段的值附到comment注释中Option Explicit ValidationMode = True Interacti

2017-09-09 18:48:21 1125

原创 jquery动态新增的元素无法触发事件问题的解决办法方法

我们请示难免会适用ajax往页面中添加元素,新添加的元素导致原有的绑定事件失效,无法触发。解决这个问题有3种办法:1、onClick=“”直接在元素上添加   onClick=“” 来触发相应的函数。不过这个方法太Low,2、live$('.liLabel').live('click', function(){ alert('OK');});3、on通过on方法绑定

2017-09-06 11:44:39 1006

原创 通过JDBC使用批处理+事务,往数据库中插入百万级数据测试

最近再学习MySQL,有时候需要百万级/千万级的数据量来支撑测试,刚开始通过语句一条一条的插入,200W行插入了4个小时才搞定,所以写了如下代码来快速插入。单纯的JDBC,没有采用多线程,多线程的方式后期会更新,代码有缺陷的地方,希望评论指出。JdbcUtils就不贴出来了。本人自用笔记本,插入速度大概在 1W+条 / Spublic void commitBatch() {

2017-08-30 00:13:27 2129

原创 MySQL server version for the right syntax to use near 'type = InnoDB' at line 25

使用PowerDesigner 生成了sql脚本(摘抄部分):/*==============================================================*//* DBMS name: MySQL 5.0 *//* Created on: 2017/8/29 11:1

2017-08-29 11:38:14 778

原创 java常见异常

所有Exception的父类都是java.lang.Throwable。异常分成两种。Error和Exception而一般Error不是人为能处理的。像out of memory就是虚拟机空间不够时会报这个而Exception分为运行时异常(RuntimeException)和非运行时异常.运行时异常就是RuntimeException其子类的异常。像常用的空指针NullPoi

2017-08-23 16:57:44 363

转载 MySQL查询语句练习题,基本够用了

Sutdent表的定义字段名字段描述数据类型主键外键非空唯一自增Id学号INT(10)是否是是是Name

2017-08-23 16:52:25 539

原创 JSON格式转换JSON.parse(),JSON.stringify()和$.param()

var str = '{"name":"huangxiaojian","age":"23"}'JSON.parse(str)结果:age: "23"name: "huangxiaojian"__proto__: Object----------------------------------------------------------------------------

2017-08-17 23:59:18 1428

转载 SpringMVC的工作流程

1. 用户发送请求至前端控制器DispatcherServlet2. DispatcherServlet收到请求调用HandlerMapping处理器映射器。3. 处理器映射器根据请求url找到具体的处理器,生成处理器对象及处理器拦截器(如果有则生成)一并返回给DispatcherServlet。4. DispatcherServlet通过HandlerAdapter处理器适配器调用处

2017-08-16 23:11:38 3991 1

原创 Spring常用注解(持续更新)

@Controller在SpringMVC 中,控制器Controller 负责处理由DispatcherServlet 分发的请求,它把用户请求的数据经过业务处理层处理之后封装成一个Model ,然后再把该Model 返回给对应的View 进行展示。在SpringMVC 中提供了一个非常简便的定义Controller 的方法,你无需继承特定的类或实现特定的接口,只需使用@Controller

2017-08-16 23:08:13 233

原创 Exception in thread "http-bio-8082-exec-5" Exception in thread "QuartzScheduler_BUSINESS-sfi-PC15027

错误如下: Java.lang.OutOfMemoryError:PermGen space原因: java虚拟机装载类的空间不够,永久内存超出,主要是因为项目功能增加后,加载的jar或class过多造成的。解决方案: 增加jvm内存,在maven的run configuration中增加如下配置,扩大初始化内存。 -Xms1024M -Xmx2048M -XX:PermS

2017-08-15 23:20:46 5504

转载 URL中“#” “?” &“”号的作用

1. #    10年9月,twitter改版。一个显著变化,就是URL加入了"#!"符号。比如,改版前的用户主页网址为http://twitter.com/username改版后,就变成了http://twitter.com/#!/username  这是主流网站第一次将"#"大规模用于重要URL中。这表明井号(Hash)的作用正在被重新认识。本文根据HttpWatch的文章,整

2017-08-11 17:13:20 293

转载 MySQL中utf8和utf8mb4的区别

一、简介MySQL在5.5.3之后增加了这个utf8mb4的编码,mb4就是most bytes 4的意思,专门用来兼容四字节的unicode。好在utf8mb4是utf8的超集,除了将编码改为utf8mb4外不需要做其他转换。当然,为了节省空间,一般情况下使用utf8也就够了。二、内容描述那上面说了既然utf8能够存下大部分中文汉字,那为什么还要使用utf8mb4呢? 原

2017-08-11 11:52:44 234

原创 Idea破解,输入注册码时报 this license BIG3CLIK6F has been cancelled 错误的解决。

将“0.0.0.0 account.jetbrains.com”添加到C:\Windows\System32\drivers\etc\hosts文件中获取Idea注册码方法:1、登陆:http://idea.lanyus.com/2、点击“获得注册码”3、复制注册码4、选择“Activation code”,点击“OK”

2017-08-10 23:14:09 4225 2

原创 bean依赖注入错误:Error creating bean with name 'itemService': Injection of autowired dependencies failed

错误代码(贴的前部分):org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'itemService': Injection of autowired dependencies failed; nested exception is org.springframework.

2017-08-09 20:54:48 10689

原创 常用Spring MVC获取请求参数的几种方法

1、使用HttpServletRequest获取@RequestMapping("/login.do") public String login(HttpServletRequest request){ String name = request.getParameter("name") String pass = request.getParameter("p

2017-08-09 10:20:54 642

原创 Maven工程聚合错误Could not find artifact cn.itcast.parent:itcast-parent:pom:0.0.1-SNAPSHOT and 'parent.rel

Could not find artifact cn.itcast.parent:itcast-parent:pom:0.0.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 7, column 11 ->Could not find artifact cn.itcast.

2017-08-06 10:52:33 8455

PowerDesigner165_破解文件

例如:我本机的power designer 安装在以下目录: D:\Program Files (x86)\Sybase\PowerDesigner 16 破解要做的事情就是把 下载得到的 pdflm16.dll 文件 覆盖到你的安装目录去。 试用版版本信息不会变化,但是软件license不会过期。

2017-09-09

赛门铁克FxRamnit.exe

赛门铁克出的针对专杀工具 亲测有效

2017-08-14

FxRamnit.exe

专业查杀电脑上所有的html都被加入SCRIPT Language=VBScript病毒

2017-08-14

Extjs-ext-3.1.1

Ext JS - JavaScript Library Copyright (c) 2006-2009, Ext JS, LLC All rights reserved. licensing@extjs.com http://extjs.com/license Open Source License Ext is licensed under the terms of the Open Source GPL 3.0 license. http://www.gnu.org/licenses/gpl.html There are several FLOSS exceptions available for use with this release for open source applications that are distributed under a license other than the GPL. * Open Source License Exception for Applications http://extjs.com/products/floss-exception.php * Open Source License Exception for Development http://extjs.com/products/ux-exception.php Commercial License ------------------------------------------------------------------------------------------ This is the appropriate option if you are creating proprietary applications and you are not prepared to distribute and share the source code of your application under the GPL v3 license. Please visit http://extjs.com/license for more details. OEM / Reseller License ------------------------------------------------------------------------------------------ For more details, please visit: http://extjs.com/license. -- This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

2015-07-21

空空如也

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

TA关注的人

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