自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 关闭浏览器报 getOutputStream() has already been called for this response

纠结了很久的错误;点击发送请求页面,在请求未返回前关闭页面报错:java.lang.IllegalStateException: getOutputStream() has already been called for this response at org.apache.catalina.connector.Response.getWriter(Response.java...

2016-06-02 10:27:48 305

原创 IReport初学

JasperReport 6.0.0,iReport5.6,SqlServer2008一:设置jdbc连接,本例设定mssqlserver 2008 [img]http://dl2.iteye.com/upload/attachment/0107/1467/e8037ac5-5d2d-356e-8b85-f680898fa0f8.jpg[/img][img]ht...

2015-03-31 17:14:03 142

原创 Illegal mix of collations (utf8_general_ci,IMPLICIT) and (gbk_chinese_ci,COERCIB

myeclipse8 + mysql:其中数据库以及表的编码都是utf-8; Illegal mix of collations (utf8_general_ci,IMPLICIT) and (gbk_chinese_ci,COERCIBLE) for operation 'UNION'这是在使用union关联时出现的问题;解决如下:在代码中 查询出来的字段上添加 ...

2013-10-14 08:51:45 654

原创 maven+springmvc+spring data jpa

pom.xml: 3.2.0.RELEASE dom4j dom4j 1.6.1 org.hibernate hibernate-core 3.6.10.Final org.hibernate hibernate-entitymanager...

2012-12-21 16:56:40 108

原创 Spring data jpa

java.lang.ExceptionInInitializerErrorCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTransla...

2012-12-18 18:01:29 154

原创 404 The requested resource () is not available.

采用hibernate anno 注解 时候出现这个问题,项目无法进入。数据库:oracle11jar: ojdbc6.jar后来发现原因:在bean的属性上有 @Id @GeneratedValue (strategy=GenerationType.SEQUENCE,generator="SEQ_PAGE") private Intege...

2012-12-05 14:13:55 143

原创 maven添加orace jar

Oracle11 的 ojdbc6.jar首先 ,下载ojdbc6.jar(在oracle的安装目录下 product\11.2.0\dbhome_1\jdbc\lib 下可以找到)。将jar放在 某一目录下,运行cmd,制定目录到改目录运行mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dve...

2012-12-05 14:04:26 135

原创 java.lang.IllegalArgumentException: Removing a detached instance

EntityManager 删除数据时出现 java.lang.IllegalArgumentException: Removing a detached instance com.txl.app.beans.UserInfo#8 at org.hibernate.ejb.event.EJB3DeleteEventListener.performDetachedEntityDeleti...

2012-11-16 16:37:06 183

原创 @Controller 注解 error

错误信息:Syntax error, annotations are only available if source level is 5.0解决 :变更java Compiler 为6.0(我jdk为6)右击项目 选 Properties 然后 如图。。[img]http://dl.iteye.com/upload/attachment/0073...

2012-09-13 20:10:21 275

原创 maven main NoClassDefFoundError错误

在之前建立的maven web app中 虽然web可以跑通了,但是如果想在java中 运行main方法,还是会出问题。错误如下:java.lang.NoClassDefFoundError: com/tt/app/action/LoginActionCaused by: java.lang.ClassNotFoundException: com.tt.app.action.Log...

2012-09-13 19:57:08 198

原创 maven建立SSH以及遇到的各种问题

在之前 建立的maven基础上 构建SSH。。首先,在pom.xml中添加jar依赖。。添加spring xml , struts xml等。完成后项目结构如图:[img]http://dl.iteye.com/upload/attachment/0073/7937/224db2cc-df7a-3396-b5e3-6d11f06ddd3f.jpg[/img]发布运行。。...

2012-09-13 19:41:55 107

原创 eclipse6.5创建maven web项目

开始学习maven。。。。Myeclipse6.5 下创建maven web项目.[img]http://dl.iteye.com/upload/attachment/0073/7812/bd9ab45f-34da-3c28-a4ab-97f56ce242e3.jpg[/img][img]http://dl.iteye.com/upload/attachment/0...

2012-09-13 18:20:46 138

原创 maven integration for eclipse jdk warning

myeclipse6.5 安装maven后,启动报warning。。。。[img]http://dl.iteye.com/upload/attachment/0073/0704/caa429a7-459d-3986-8c0b-f56093182d87.jpg[/img]解决方式:添加-vmD:\Program Files\Java\jdk1.6.0_21\bin\j...

2012-08-30 12:15:29 79

dwr提交javabean

DWR.xml: ==========================JSP: 。。。。。。。。。function submit2(){ var test = document.getElementsByNam...

2010-10-26 23:14:20 91

dwr提交同名input

首先说明:以我个人的测试结果来看, 同名的textbox不可能都将“键--值”对提交到后台去。如果是多个同名textbox(如下的name="text4"),只有第一个的“键-值”对会提交到后台去,后面的同名值不行。 form 表单如下: test1: test2: test...

2010-10-25 09:33:02 93

空空如也

空空如也

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

TA关注的人

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