自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 javaweb上传文件报: java.io.FileNotFoundException:xxxat java.io.FileOutputStream.open0(Native Method)

1、上传文件并将该文件保存到tomcate中的webapp中,报错如下2、原因为file文件没找到3、解决方法,若文件不存在时就创建文件

2018-08-30 10:54:59 13878

原创 CannotAcquireResour:A ResourcePool could not acquire a resource from its primary factory or source.

1、db2  c3p0获取数据库连接时报og4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.java.sql.SQLException: Connections could not be acquired from the underlying database!    at c...

2018-08-17 10:23:49 245

原创 Connections could not be acquired from the underlying database!

/Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/bin/java -ea -Didea.launcher.port=7537 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 15.app/Contents/bin" -Didea.junit.sm_runner...

2018-08-14 23:01:42 760

原创 c3p0连接池

1、导入包<dependency> <groupId>c3p0</groupId> <artifactId>c3p0</artifactId> <version>0.9.1.2</version></dependency>

2018-08-14 18:16:29 164

原创 dbcp连接池

2018-08-14 18:04:38 270

原创 JDBC数据库连接

2、到得connection连接

2018-08-14 18:01:18 106

原创 db2批处理,不用添加rewriteBatchedStatements

1、db2的批量处理 添加rewriteBatchedStatements,因添加此字段时,报/Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/bin/java -ea -Didea.launcher.port=7533 "-Didea.launcher.bin.path=/Applications/IntelliJ...

2018-08-13 16:30:12 782

原创 db2 [jcc][t4][10335][10366][4.11.77] 操作无效:连接已关闭。 ERRORCODE=-4470, SQLSTATE=08003

 (org.apache.commons.beanutils.converters.BooleanConverter).log4j:WARN Please initialize the log4j system properly.log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info....

2018-08-11 23:22:20 11821 13

原创 el表达式正确,但不输出结果

1、EL表达式输入正确,但不显示输出结果,是因为 page中没有添加 isELIgnored="false",添加上此字段后,EL表达式输出就正常了。 <%-- Created by IntelliJ IDEA. User: yp-tc-m-2935 Date: 18/8/3 Time: 下午12:55el表达式 和 4个域对象 11个内置对象的使用--%>...

2018-08-03 14:54:11 1633 1

空空如也

空空如也

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

TA关注的人

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