随笔分类 - IBatis
摘要:严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in ServletContext resource [/WEB-INF/classes/applic
阅读全文
摘要:org.springframework.jdbc.UncategorizedSQLException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; Error: executeQueryForObject returned too many results.; nested exception is java.sql.SQLException: Error: executeQueryForObject returned too many resu
阅读全文
摘要:找的原因是:WebApplicationContext 来做ioc容器加载会更慢。因为他需要检查bean的关联关系。2010-2-3 9:29:03 org.apache.catalina.core.AprLifecycleListener init信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:/Program Files/Java/jdk1.6
阅读全文
摘要:ibatis基础代码包括: 1. ibatis实例配置 一个典型的配置文件如下(具体配置项目的含义见后):<? xml version="1.0" encoding="UTF-8" ?> <! DOCTYPE sqlMapConfig PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0/ "[url]http://www.ibatis.com/dtd/[/url]sql-map-config-2.dt <sqlMapConfig > < settings ca
阅读全文
摘要:严重: StandardWrapper.Throwable java.lang.IllegalStateException: Cannot initialize context because there is already a root application context present - check whether you have multiple ContextLoader* definitions in your web.xml! at org.springframework.web.context.ContextLoader.initWebApplicationContex
阅读全文

浙公网安备 33010602011771号