com.ibatis.sqlmap.client.SqlMapException: There was an error while building the SqlMap instance.
--- The error occurred in jdbc.properties.
--- The error occurred while loading global properties.
--- Cause: com.ibatis.sqlmap.client.SqlMapException: Error loading properties. Cause: java.io.IOException: Could not find resource jdbc.properties
at com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.buildSqlMap(XmlSqlMapClientBuilder.java:243)
at cn.itcast.MySqlMapClient.<clinit>(MySqlMapClient.java:18)
at cn.itcast.StudentManager.main(StudentManager.java:11)
Caused by: com.ibatis.sqlmap.client.SqlMapException: Error loading properties. Cause: java.io.IOException: Could not find resource jdbc.properties
at com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.parseGlobalProperties(XmlSqlMapClientBuilder.java:302)
at com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.parseSqlMapConfig(XmlSqlMapClientBuilder.java:256)
at com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.buildSqlMap(XmlSqlMapClientBuilder.java:239)
... 2 more
Exception in thread "main" java.lang.ExceptionInInitializerError
at cn.itcast.StudentManager.main(StudentManager.java:11)
Caused by: java.lang.RuntimeException: Error initializing: com.ibatis.sqlmap.client.SqlMapException: There was an error while building the SqlMap instance.
--- The error occurred in jdbc.properties.
--- The error occurred while loading global properties.
--- Cause: com.ibatis.sqlmap.client.SqlMapException: Error loading properties. Cause: java.io.IOException: Could not find resource jdbc.properties
at cn.itcast.MySqlMapClient.<clinit>(MySqlMapClient.java:21)
... 1 more
--- The error occurred in jdbc.properties.
--- The error occurred while loading global properties.
--- Cause: com.ibatis.sqlmap.client.SqlMapException: Error loading properties. Cause: java.io.IOException: Could not find resource jdbc.properties
at com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.buildSqlMap(XmlSqlMapClientBuilder.java:243)
at cn.itcast.MySqlMapClient.<clinit>(MySqlMapClient.java:18)
at cn.itcast.StudentManager.main(StudentManager.java:11)
Caused by: com.ibatis.sqlmap.client.SqlMapException: Error loading properties. Cause: java.io.IOException: Could not find resource jdbc.properties
at com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.parseGlobalProperties(XmlSqlMapClientBuilder.java:302)
at com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.parseSqlMapConfig(XmlSqlMapClientBuilder.java:256)
at com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.buildSqlMap(XmlSqlMapClientBuilder.java:239)
... 2 more
Exception in thread "main" java.lang.ExceptionInInitializerError
at cn.itcast.StudentManager.main(StudentManager.java:11)
Caused by: java.lang.RuntimeException: Error initializing: com.ibatis.sqlmap.client.SqlMapException: There was an error while building the SqlMap instance.
--- The error occurred in jdbc.properties.
--- The error occurred while loading global properties.
--- Cause: com.ibatis.sqlmap.client.SqlMapException: Error loading properties. Cause: java.io.IOException: Could not find resource jdbc.properties
at cn.itcast.MySqlMapClient.<clinit>(MySqlMapClient.java:21)
... 1 more