![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JAVA
冗长的黑暗中,我是你唯一的光。
这个作者很懒,什么都没留下…
展开
-
Itext PDF合并 性能高,占内存小
import java.io.FileOutputStream;import java.io.IOException;import com.lowagie.text.Document;import com.lowagie.text.DocumentException;import com.lowagie.text.pdf.PdfCopy;import com.lowagie.text.pdf.PdfImportedPage;import com.lowagie.text.pdf.PdfReade原创 2021-04-22 16:41:05 · 562 阅读 · 0 评论 -
将本地jar包,放到maven项目中
比如我下载了lucene-queryparser-4.6.1.jar一、怎么添加jar到本地仓库呢?步骤:1.cmd命令进入该jar包所在路径2.执行命令:mvn install:install-file -Dfile=lucene-queryparser-4.6.1.jar -DgroupId=org.apache.lucene -DartifactId=lucene-querypa...原创 2020-02-28 20:00:42 · 124 阅读 · 0 评论 -
正常启动正常,debug启动报错
项目可以正常启动,debug启动报错如下2020-02-19 16:16:44,080 [localhost-startStop-1] ERROR [org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:331)] - Context initialization fa...原创 2020-02-24 14:36:12 · 946 阅读 · 0 评论 -
安装postwomen
一、安装1.使用git进行安装:git clone https://github.com/liyasthomas/postwoman.gitcd postwomannpm installnpm run dev二、使用:用浏览器打开即可,http://本机ip:3000npm install命令需要安装node.jsnpm install总是报错:unable to verify ...原创 2020-01-10 10:49:11 · 718 阅读 · 0 评论 -
Ehcache缓存模糊查询使用
Ehcache工具类/** * Cache工具类 * @author ThinkGem * @version 2013-5-29 */public class EhCacheUtils { private static CacheManager cacheManager = ((CacheManager)SpringContextHolder.getBean("cacheManag...原创 2019-12-12 18:08:09 · 1859 阅读 · 0 评论