自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 资源 (2)
  • 收藏
  • 关注

原创 求解决,ibatis级联查询异常,求解决,哪里配置错了吗??(已经解决)

这是主表 xiuCentItem <!-- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify. This element was generated on Wed Mar 21 19:47:05 CST 2012. -->

2012-03-27 14:37:09 2038

原创 Cause: java.lang.IllegalArgumentException: argument type mismatch

public XiuItemAttr selectByPrimaryKey(Integer xiaId) throws SQLException { return (XiuItemAttr) sqlMapClient.queryForObject( "XIU_ITEM_ATTR.ibatorgenerated_selectByPrimaryKey", xiaId); }ibati

2012-03-26 18:50:47 3877

原创 list from JavaBean. Cause java.lang.StringIndexOutOfBoundsException: String index out of range: -1

数组越界,先前以为是传过去的list参数为null或者list.size==0,于是就在执行ibatis语句前添加了判断 。代码如下if (ids != null&&0 < ids.size()) { List xiuCentAttrList = sqlMapClient .queryForList( "XIU_CENT_ATTR.ibatorgenerated_se

2012-03-26 12:59:31 7525

原创 servlet-api-2.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/s

tomcat项目启动的时候报下面的错误原因:项目的WEB-INF/lib下有servlet-api*.*.jar。jar包,和tomcat/lib 下的servlet-api.jar 包冲突两选一去掉ok ,建议去掉WEB-INF/lib 下信息: Starting Servlet Engine: Apache Tomcat/6.0.302012-3-23 16:08:01 org.apa

2012-03-23 16:17:09 1978

原创 求解决 org.apache.solr.common.SolrException: Internal Server Error

一个全量更新数据的时候,有几批数据出了这个错误,其他的又没有2012-03-22 04:26:03:INFO pool-26-thread-4 com.xiu.search.good.GoodSearchIndexHelper - 使用solr document实时更新true     [java] org.apache.solr.common.SolrException: Inter

2012-03-22 16:31:57 2762 1

原创 com.ibatis.sqlmap.client.SqlMapExceptionThere is no statement named XIU_ITEM_INFO.ibatorgenerated_in

查看XIU_ITEM_INFO_SqlMap.xml  两个statement都有  ,就是找不到问题,后来发现先前为了做测试-->-->查看我的sqlmap.xml文件 把注释去掉ok啦 com.ibatis.sqlmap.client.SqlMapException: There is no statement named XIU_ITEM_INFO.ib

2012-03-22 14:59:04 1655

原创 Cause: java.lang.IllegalArgumentException:

用代码生成器成成的是private BigDecimal id;需要改成intprivate Integer id;改成后报下面的错误 原来插入的时候还要把序列类型改啦            select            seq_XIU_ITEM_INFO.nextval from dual                select

2012-03-16 15:32:20 4446 1

原创 IOException parsing XML document from class path resource [spring-jms-application.xml]; nested

改成这个就行啦 private XiuPromCenterService xiuPromCenterService; private ApplicationContext app; @Before public void setUp() throws Exception { app = new ClassPathXmlApplicationContext("classpath*:sp

2012-03-15 12:04:16 4634

原创 org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory

slf4j系列包版本不匹配的原因org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jmsConnectionFatory' defined in class path resource [spring-jms-application.xml]: Instantiat

2012-03-15 11:56:11 1732

原创 web.xml The content of element type "web-app" must match "

The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter- mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-ma

2012-03-12 17:19:10 865 1

原创 Cannot create a server using the selected type

到[工程目录下]/.metadata/.plugins/org.eclipse.core.runtime/.settings3.把org.eclipse.wst.server.core.prefs和 org.eclipse.jst.server.tomcat.core.prefs这两个文件去掉4.重启eclipse

2012-03-07 22:55:13 444

原创 ORA-08102: index key not found, obj# 129038, file 78, block 2910787 (2)

表的索引发生发生问题  查询发现obj#239是索引I_JOB_NEXT 。 SQL> col object_name format a15;SQL> col owner format a10;SQL> select o.owner, o.object_name, o.object_id, o.object_type  2    from dba_objects

2012-03-03 17:23:28 2020

原创 listener could not find available handler for requested type of server

http://www.ispirer.com/wiki/sqlways/troubleshooting-guide/oracle/import/tns_listenerorcal默认参数“PROCESSES ”  指定orcale xe Server 为40个解决方法,增加"PROCESSES "为100,200 或更多,步骤如下在系统中   1.set ORACLE_SID=XE

2012-03-03 16:57:14 2432

原创 Error initializing endpoint java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bin

tomcat端口被占用了,改一下端口Error initializing endpointjava.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind    at java.net.PlainSocketImpl.socketBind(Native Method)    at java.net

2012-03-01 00:17:26 2988

Maven常用命令 Maven Maven学习

Maven常用命令 Maven Maven学习

2011-12-09

log4j.properties完整版本

log4j.properties log4j log4j日志保存到邮件 log4j保存到数据库

2011-12-09

空空如也

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

TA关注的人

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