在线等.......... Ibatis 配置出问题了!
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE sqlMapConfig        
PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"        
"http://ibatis.apache.org/dtd/sql-map-config-2.dtd">  
<sqlMapConfig>
	<properties resource="SqlMap.properties"/>
	<transactionManager type="JDBC">
		<dataSource type="SIMPLE">
			<property value="${driver}" name="JDBC.Driver"/>
			<property value="${url}" name="JDBC.ConnectionURL"/>
			<property value="${username}" name="JDBC.UserName"/>
			<property value="${password}" name="JDBC.Passowrd"/>
		</dataSource>
	</transactionManager>
	<sqlMap resource="Student.xml"/>
</sqlMapConfig>
-------------SqlMap.properties文件-------------------
driver=oracle.jdbc.driver.OracleDriver
url=jdbc:oracle:thin:@127.0.0.1:1521:orcl
username=scott
password=tiger
------------映射文件-----------
<?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE sqlMap         
    PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN"         
    "http://ibatis.apache.org/dtd/sql-map-2.dtd">   
  
<sqlMap>
	<typeAlias alias="Student" type="ibatis.Student"/>
	<select id="selectAllStudent" resultClass="Student">
		select *
		from student
	</select>
</sqlMap>
错误信息
严重: SimpleDataSource: Error while loading properties. Cause: java.lang.RuntimeException: SimpleDataSource: Some properties were not set.
              ------解决方案-------------------->SimpleDataSource: Error while loading properties. Cause: java.lang.
RuntimeException: SimpleDataSource: Some properties were not set.
if (!(props.containsKey(PROP_JDBC_DRIVER)
&& props.containsKey(PROP_JDBC_URL)
&& props.containsKey(PROP_JDBC_USERNAME)
&& props.containsKey(PROP_JDBC_PASSWORD))) {
throw new RuntimeException("SimpleDataSource: Some properties were not set.");