自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 资源 (3)
  • 收藏
  • 关注

原创 Unable to process parts as no multi-part configuration has been provided

由于服务器迁移,jdk由原来的1.8升级到17,随着而来的springboot由原来的1.4.7.RELEASE升级到2.7.18,使用了spring security。

2025-03-18 17:12:00 1246

原创 Cannot invoke “com.itextpdf.io.font.otf.Glyph.getWidth()“ because “glyph“ is null

系统环境 springboot + itextpdf 9,开发环境正常,打包成jar运行报错。上面的报错,下面的没有问题。网上有一些解决的方法,但症结不一样。最终错误发生在一个小小的符号上。

2025-02-13 10:21:32 398

原创 DBeaver 多行多列粘贴 设置单元格为空

DBeaver 多行多列粘贴 设置单元格为空

2024-11-29 13:46:21 2589

原创 tomcat同时可访问http和https,并区分访问资源

1、测试环境:win10,tomcat7.0.72,jdk8 2、实现目标:实现静态文件http访问,api的https访问(本测试只是通过目录来区别的,在spring中,可以是访问路径以api开头的url) 3、配置: 3.1、开放tomcat两个端口,一个供http使用的7080,和一个供https使用的7433端口 tomcat中的server.xml配置如下: <Conne...

2019-05-09 11:23:28 1822

原创 easyui datagrid xxs

easyui单元格中如果出现alter(1);会被执行,如果避免呢首先找到jquery.easyui.min.js,我的版本是jQuery EasyUI 1.5.1然后找到datagrid 的 renderRow方法,在11133行,在11173行增加if(_829){_829 = _829.replace(//g, ">");}这里只是替换号,可根据自己的实际情况处理

2017-11-29 14:34:10 1181

原创 maven quartz

pom.xml             jdom    jdom    1.1            org.quartz-scheduler    quartz    2.2.3 quartz.properties 放到resources,没有此文件也可运行 #指定调度器的名称 org.quartz.scheduler.instanceName = MySch

2016-10-10 15:01:17 1773

原创 Maven Log4j2 Marker 不同类型的日志写入不同的文件

maven pom.xml             org.apache.logging.log4j         log4j-api         2.7                 org.apache.logging.log4j         log4j-core         2.7            commons-logging

2016-10-10 14:54:16 9762 1

原创 memcached magent

虚拟环境下测试memcached和magent,客户端xmemcached

2016-06-16 10:18:09 553

原创 eclipse maven run as on server src/main

maven 项目,run as on server(eclipse plugin)时发现工程的classes下是main目录下的内容,不是编译的class。 右键项目,修改Depolyment Assemebly,如下图

2016-06-13 17:10:08 512

原创 springboot tomcat8 duplicate springSecurityFilterChain and increasing the maximum size of the cache

1、springSecurityFilterChain'. Check to ensure the Filter is only configured once. 在pringboot中不能同时存在 public class MessageSecurityWebApplicationInitializer extends AbstractSecurityWebApplicationInitia

2016-06-03 22:57:04 2753

原创 js time

var current = new Date(); var d1 = new Date(current.getYear(),1,1,7,30,0);//new Date(year,month,day,hour,minute,second) var d2 = new Date(current.getYear(),1,1,0,0,0); var time= d1.getTime()-d2.get

2016-05-24 09:20:41 1297

原创 spring boot security csrf ignore

在一个工程中使用了spring boot security csrf , 工程中有一部分是api,通过url进行调用,并且要求使用post请求 那么麻烦来了,使用了csrf,调用api的请求被拒了,原因就是没有csrf,认为session过期了 怎么绕过去呢 public class SecurityConfig extends WebSecurityConfigurerAdapter{

2016-05-20 16:35:51 3365

翻译 apache fluent 乱码

http://stackoverflow.com/questions/17990684/how-to-use-the-fluent-api-of-apache-httpclient-to-read-utf-8-coded-website 服务器返回的信息没有明确指定内容的编码集,因此HttpClient强制使用ISO-8859-1对内容进行编码,而不是UTF-8。 不兴的是只能使用客户化的re

2016-05-06 15:12:44 2812 2

原创 jackson byte[]

有如下类 public class Result{ int code; Object data; public Result(int code,Object data){} }  byte[] data = 从file转过来的 String sr = new ObjectMapper().writeValueAsString(new Result(1,data)); Result

2016-05-04 14:33:31 1833

原创 sonar

1、到http://www.sonarqube.org/downloads/下载SonarQube,当前版本5.4 2、下载SonarQube Scanners 3、http://docs.sonarqube.org/display/SONAR/Documentation/ 阅读getting started中的requirements和Installing SonarQube 4、安装

2016-04-28 11:19:17 681

原创 struts spring integration and test using junit4

1、integration 创建java dynamic web project 加入的jar有commons-fileupload-1.2,commons-io-2.2,commons-lang3-3.1,commons-logging-1.1.3,freemarker-2.3.19,hamcrest-core-1.3,javassist-3.11.0.GA,junit-4.12,ognl-

2016-04-25 13:43:49 605

原创 Junit4

SimpleJunit4 Test public class SimpleJunit {     @Before public void setUp(){          //such as initialize db connection     }     @Test public void test0(){         assertEquals(1,1);

2016-04-25 13:35:59 537

原创 hibernate 3.2.3 setParameterList bug

最近的项目中使用了hibernate naming parameter list,代码如下 Query query1 = session.createQuery("from OurProduct where createOrgCode in(:createOrgCode) and updateOrgCode in(:createOrgCode1)"); query1.setParameterL

2016-03-23 13:17:44 985

原创 oracle在job中调用带有参数的存储过程

<br />在what如下<br />declare<br />v_in_param1 varchar2(1000);<br />v_out_param2 varchar2(1000);<br />begin<br />    proc_job_test(v_in_param1,v_out_param2);<br />end;<br />这样就可以调用带有参数的存储过程了。

2011-05-21 11:17:00 2351

pyenv-win 3.1.1

网上有的说用choco,还需要安装choco,不如直接从git上download下来,而且安装的pyenv无法安装较新版本的python 1、在当前用户下创建.pyenv文件夹 2、把下载的文件解压到.pyenv文件下 3、设置环境变量,把安装目录下的pyenv-win/bin 和 pyenv-win/shims 放到path中 4、接下来是安装virtualevn 5、开始你的python之旅,

2025-03-21

Axure chrome plugin 0.7.0-0

将zip解压,点击chrome 扩展程序,右上角开启开发者模式,做左上角加载已解压的扩展程序,选择解压好的文件夹就安装好了

2025-03-05

nvm-setup-1.1.10(20230330不用积分).zip

nvm nodejs多版本管理

2023-03-30

文件类型ico图标

文件类型ico,包括40个图标

2017-02-25

Modbus tool(server & client)

Modbus tool(server & client)

2016-06-11

100小时学会SAP

100小时学会SAP,基础篇,pdf版本

2010-04-23

空空如也

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

TA关注的人

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