iBATIS错误大全

Unhandled exception type SQLException

JDBC URL的SelectMethod=cursor
The error occurred in com/mydomain/data/Account.xml. --- The error occurred while applying a result map. --- Check the selectAccountById-AutoResultMap. --- The error happened while setting a property on the result object. --- Cause: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode.

Error occurred.  Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. 
Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/resultObjectFactory'.  Cause: com.ibatis.sqlmap.client.SqlMapException: Error instantiating resultObjectFactory: com.mydomain.domain.Account

Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/resultObjectFactory'.  Cause: com.ibatis.sqlmap.client.SqlMapException: Error instantiating resultObjectFactory: com.mydomain.domain.Account

JavaBean大小写问题
Cause: com.ibatis.common.beans.ProbeException: There is no WRITEABLE property named 'OperatorId' in class 'com.zjx.customer.OperatorInfo'

当在sqlmapconfig.xml中添加一个enhancementEnabled="true"的时候提示下面错误
Attribute "enhancementEnabled" was already specified for element "settings".

在配置OperatorInfo.xml的cacheModel节点的时候提示下面错误信息
Attribute "type" is required and must be specified for element type "cacheModel".

在使用iBATIS的时候MyEclipse提示下面的信息
log4j:WARN No appenders could be found for logger (java.sql.Connection).
log4j:WARN Please initialize the log4j system properly.

在使用JSP2.0的${}符号的时候遇到下面错误
The function get must be used with a prefix when a default namespace is not specified

Form-Based Authentication,Tomcat Form验证

得到Html Element <input TYPE=checkbox name=fruit VALUE=apples> Apples <BR>
提交的URL如下:
checkresult.jsp?fruit=apples&fruit=grapes&fruit=oranges&fruit=melons&submit=Submit
<%! String[] fruits; %>
fruits = request.getParameterValues("fruit");

在iBATIS的表映射文件里面设置like语句,遇到下面错误
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Invalid parameter binding(s)
--- The error occurred in VehicleInfo.xml. 
--- The error occurred while applying a parameter map. 
--- Check the selectVehicleInfo-InlineParameterMap. 
--- Check the parameter mapping for the 'companyid' property. 

2008-5-17 9:04:24 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\BS\WEB-INF\lib\javax.servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

转载于:https://www.cnblogs.com/kaixin110/archive/2008/05/26/1207394.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值