<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[junandjun的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/junandjun</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; junandjun]]></copyright><item><title><![CDATA[Unable to process parts as no multi-part configuration has been provided]]></title><link>https://blog.csdn.net/junandjun/article/details/146346579</link><guid>https://blog.csdn.net/junandjun/article/details/146346579</guid><author>junandjun</author><pubDate>Tue, 18 Mar 2025 17:12:00 +0800</pubDate><description><![CDATA[由于服务器迁移，jdk由原来的1.8升级到17，随着而来的springboot由原来的1.4.7.RELEASE升级到2.7.18，使用了spring security。]]></description><category></category></item><item><title><![CDATA[Cannot invoke “com.itextpdf.io.font.otf.Glyph.getWidth()“ because “glyph“ is null]]></title><link>https://blog.csdn.net/junandjun/article/details/145606133</link><guid>https://blog.csdn.net/junandjun/article/details/145606133</guid><author>junandjun</author><pubDate>Thu, 13 Feb 2025 10:21:32 +0800</pubDate><description><![CDATA[系统环境 springboot + itextpdf 9，开发环境正常，打包成jar运行报错。上面的报错，下面的没有问题。网上有一些解决的方法，但症结不一样。最终错误发生在一个小小的符号上。]]></description><category></category></item><item><title><![CDATA[DBeaver 多行多列粘贴 设置单元格为空]]></title><link>https://blog.csdn.net/junandjun/article/details/144133985</link><guid>https://blog.csdn.net/junandjun/article/details/144133985</guid><author>junandjun</author><pubDate>Fri, 29 Nov 2024 13:46:21 +0800</pubDate><description><![CDATA[DBeaver 多行多列粘贴 设置单元格为空]]></description><category></category></item><item><title><![CDATA[tomcat同时可访问http和https，并区分访问资源]]></title><link>https://blog.csdn.net/junandjun/article/details/90024163</link><guid>https://blog.csdn.net/junandjun/article/details/90024163</guid><author>junandjun</author><pubDate>Thu, 09 May 2019 11:23:28 +0800</pubDate><description><![CDATA[1、测试环境：win10，tomcat7.0.72，jdk8

2、实现目标：实现静态文件http访问，api的https访问（本测试只是通过目录来区别的，在spring中，可以是访问路径以api开头的url）

3、配置：

3.1、开放tomcat两个端口，一个供http使用的7080，和一个供https使用的7433端口

tomcat中的server.xml配置如下：

&lt;Conne...]]></description><category></category></item><item><title><![CDATA[easyui datagrid xxs]]></title><link>https://blog.csdn.net/junandjun/article/details/78665086</link><guid>https://blog.csdn.net/junandjun/article/details/78665086</guid><author>junandjun</author><pubDate>Wed, 29 Nov 2017 14:34:10 +0800</pubDate><description><![CDATA[easyui单元格中如果出现alter(1);会被执行，如果避免呢首先找到jquery.easyui.min.js,我的版本是jQuery EasyUI 1.5.1然后找到datagrid 的 renderRow方法，在11133行，在11173行增加if(_829){_829 = _829.replace(//g, "&gt;");}这里只是替换号，可根据自己的实际情况处理]]></description><category></category></item><item><title><![CDATA[maven quartz]]></title><link>https://blog.csdn.net/junandjun/article/details/52777864</link><guid>https://blog.csdn.net/junandjun/article/details/52777864</guid><author>junandjun</author><pubDate>Mon, 10 Oct 2016 15:01:17 +0800</pubDate><description><![CDATA[pom.xml
        
   jdom
   jdom
   1.1

        
   org.quartz-scheduler
   quartz
   2.2.3


quartz.properties 放到resources，没有此文件也可运行
#指定调度器的名称
org.quartz.scheduler.instanceName = MySch]]></description><category></category></item><item><title><![CDATA[Maven Log4j2 Marker 不同类型的日志写入不同的文件]]></title><link>https://blog.csdn.net/junandjun/article/details/52777785</link><guid>https://blog.csdn.net/junandjun/article/details/52777785</guid><author>junandjun</author><pubDate>Mon, 10 Oct 2016 14:54:16 +0800</pubDate><description><![CDATA[maven pom.xml
    
        org.apache.logging.log4j
        log4j-api
        2.7
    
    
        org.apache.logging.log4j
        log4j-core
        2.7
    
    
   commons-logging]]></description><category></category></item><item><title><![CDATA[memcached magent]]></title><link>https://blog.csdn.net/junandjun/article/details/51689927</link><guid>https://blog.csdn.net/junandjun/article/details/51689927</guid><author>junandjun</author><pubDate>Thu, 16 Jun 2016 10:18:09 +0800</pubDate><description><![CDATA[虚拟环境下测试memcached和magent，客户端xmemcached]]></description><category></category></item><item><title><![CDATA[eclipse maven run as on server src/main]]></title><link>https://blog.csdn.net/junandjun/article/details/51659115</link><guid>https://blog.csdn.net/junandjun/article/details/51659115</guid><author>junandjun</author><pubDate>Mon, 13 Jun 2016 17:10:08 +0800</pubDate><description><![CDATA[maven 项目，run as on server(eclipse plugin)时发现工程的classes下是main目录下的内容，不是编译的class。
右键项目，修改Depolyment Assemebly，如下图]]></description><category></category></item><item><title><![CDATA[springboot tomcat8 duplicate springSecurityFilterChain and increasing the maximum size of the cache]]></title><link>https://blog.csdn.net/junandjun/article/details/51582261</link><guid>https://blog.csdn.net/junandjun/article/details/51582261</guid><author>junandjun</author><pubDate>Fri, 03 Jun 2016 22:57:04 +0800</pubDate><description><![CDATA[1、springSecurityFilterChain'. Check to ensure the Filter is only configured once.
在pringboot中不能同时存在
public class MessageSecurityWebApplicationInitializer extends AbstractSecurityWebApplicationInitia]]></description><category></category></item><item><title><![CDATA[js time]]></title><link>https://blog.csdn.net/junandjun/article/details/51487501</link><guid>https://blog.csdn.net/junandjun/article/details/51487501</guid><author>junandjun</author><pubDate>Tue, 24 May 2016 09:20:41 +0800</pubDate><description><![CDATA[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]]></description><category></category></item><item><title><![CDATA[spring boot security csrf ignore]]></title><link>https://blog.csdn.net/junandjun/article/details/51462785</link><guid>https://blog.csdn.net/junandjun/article/details/51462785</guid><author>junandjun</author><pubDate>Fri, 20 May 2016 16:35:51 +0800</pubDate><description><![CDATA[在一个工程中使用了spring boot security csrf ，
工程中有一部分是api，通过url进行调用，并且要求使用post请求
那么麻烦来了，使用了csrf，调用api的请求被拒了，原因就是没有csrf，认为session过期了
怎么绕过去呢
public class SecurityConfig extends WebSecurityConfigurerAdapter{]]></description><category></category></item><item><title><![CDATA[apache fluent 乱码]]></title><link>https://blog.csdn.net/junandjun/article/details/51331843</link><guid>https://blog.csdn.net/junandjun/article/details/51331843</guid><author>junandjun</author><pubDate>Fri, 06 May 2016 15:12:44 +0800</pubDate><description><![CDATA[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]]></description><category></category></item><item><title><![CDATA[jackson byte[]]]></title><link>https://blog.csdn.net/junandjun/article/details/51314685</link><guid>https://blog.csdn.net/junandjun/article/details/51314685</guid><author>junandjun</author><pubDate>Wed, 04 May 2016 14:33:31 +0800</pubDate><description><![CDATA[有如下类
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 ]]></description><category></category></item><item><title><![CDATA[sonar]]></title><link>https://blog.csdn.net/junandjun/article/details/51272931</link><guid>https://blog.csdn.net/junandjun/article/details/51272931</guid><author>junandjun</author><pubDate>Thu, 28 Apr 2016 11:19:17 +0800</pubDate><description><![CDATA[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、安装]]></description><category></category></item><item><title><![CDATA[struts spring integration and test using junit4]]></title><link>https://blog.csdn.net/junandjun/article/details/51241709</link><guid>https://blog.csdn.net/junandjun/article/details/51241709</guid><author>junandjun</author><pubDate>Mon, 25 Apr 2016 13:43:49 +0800</pubDate><description><![CDATA[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-]]></description><category></category></item><item><title><![CDATA[Junit4]]></title><link>https://blog.csdn.net/junandjun/article/details/51241667</link><guid>https://blog.csdn.net/junandjun/article/details/51241667</guid><author>junandjun</author><pubDate>Mon, 25 Apr 2016 13:35:59 +0800</pubDate><description><![CDATA[SimpleJunit4 Test
public class SimpleJunit {
    @Before public void setUp(){
         //such as initialize db connection
    }
    @Test public void test0(){
        assertEquals(1,1);]]></description><category></category></item><item><title><![CDATA[hibernate 3.2.3 setParameterList bug]]></title><link>https://blog.csdn.net/junandjun/article/details/50962388</link><guid>https://blog.csdn.net/junandjun/article/details/50962388</guid><author>junandjun</author><pubDate>Wed, 23 Mar 2016 13:17:44 +0800</pubDate><description><![CDATA[最近的项目中使用了hibernate naming parameter list，代码如下
Query query1 = session.createQuery("from OurProduct where createOrgCode in(:createOrgCode) and updateOrgCode in(:createOrgCode1)");
query1.setParameterL]]></description><category></category></item><item><title><![CDATA[oracle在job中调用带有参数的存储过程]]></title><link>https://blog.csdn.net/junandjun/article/details/6436184</link><guid>https://blog.csdn.net/junandjun/article/details/6436184</guid><author>junandjun</author><pubDate>Sat, 21 May 2011 11:17:00 +0800</pubDate><description><![CDATA[<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 />这样就可以调用带有参数的存储过程了。]]></description><category></category></item></channel></rss>