在运行测试类是抛出如下异常:
log4j:WARN No appenders could be found for logger (org.springframework.beans.factory.xml.XmlBeanDefinitionReader).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'unionistServiceProxy' defined in class path resource [com/excellence/yyzwbm/partyorgan/labourunion/bean/applicationContext.xml]: Can't resolve reference to bean 'unionistServiceImpl' while setting property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'unionistServiceImpl' defined in class path resource [com/excellence/yyzwbm/partyorgan/labourunion/bean/applicationContext.xml]: Can't resolve reference to bean 'unionistDAO' while setting property 'unionistDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'unionistDAO' defined in class path resource [com/excellence/yyzwbm/partyorgan/labourunion/bean/applicationContext.xml]: Can't resolve reference to bean 'sqlMapClient' while setting property 'sqlMapClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in class path resource [com/excellence/yyzwbm/partyorgan/labourunion/bean/applicationContext.xml]: Initialization of bean failed; nested exception is com.ibatis.sqlmap.client.SqlMapException: There was an error while building the SqlMap instance.  
--- The error occurred in com/excellence/yyzwbm/partyorgan/labourunion/sql/Paperoff.xml.  
--- The error occurred while loading the SQL Map resource.  
--- Cause: com.ibatis.sqlmap.client.SqlMapException: XML Parser Error.  Cause: sun.io.MalformedInputException
Caused by: sun.io.MalformedInputException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'unionistServiceImpl' defined in class path resource [com/excellence/yyzwbm/partyorgan/labourunion/bean/applicationContext.xml]: Can't resolve reference to bean 'unionistDAO' while setting property 'unionistDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'unionistDAO' defined in class path resource [com/excellence/yyzwbm/partyorgan/labourunion/bean/applicationContext.xml]: Can't resolve reference to bean 'sqlMapClient' while setting property 'sqlMapClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in class path resource [com/excellence/yyzwbm/partyorgan/labourunion/bean/applicationContext.xml]: Initialization of bean failed; nested exception is com.ibatis.sqlmap.client.SqlMapException: There was an error while building the SqlMap instance.  
--- The error occurred in com/excellence/yyzwbm/partyorgan/labourunion/sql/Paperoff.xml.  
--- The error occurred while loading the SQL Map resource.  
--- Cause: com.ibatis.sqlmap.client.SqlMapException: XML Parser Error.  Cause: sun.io.MalformedInputException
Caused by: sun.io.MalformedInputException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'unionistDAO' defined in class path resource [com/excellence/yyzwbm/partyorgan/labourunion/bean/applicationContext.xml]: Can't resolve reference to bean 'sqlMapClient' while setting property 'sqlMapClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in class path resource [com/excellence/yyzwbm/partyorgan/labourunion/bean/applicationContext.xml]: Initialization of bean failed; nested exception is com.ibatis.sqlmap.client.SqlMapException: There was an error while building the SqlMap instance.  
--- The error occurred in com/excellence/yyzwbm/partyorgan/labourunion/sql/Paperoff.xml.  
--- The error occurred while loading the SQL Map resource.  
--- Cause: com.ibatis.sqlmap.client.SqlMapException: XML Parser Error.  Cause: sun.io.MalformedInputException
Caused by: sun.io.MalformedInputException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in class path resource [com/excellence/yyzwbm/partyorgan/labourunion/bean/applicationContext.xml]: Initialization of bean failed; nested exception is com.ibatis.sqlmap.client.SqlMapException: There was an error while building the SqlMap instance.  
--- The error occurred in com/excellence/yyzwbm/partyorgan/labourunion/sql/Paperoff.xml.  
--- The error occurred while loading the SQL Map resource.  
--- Cause: com.ibatis.sqlmap.client.SqlMapException: XML Parser Error.  Cause: sun.io.MalformedInputException
Caused by: sun.io.MalformedInputException
com.ibatis.sqlmap.client.SqlMapException: There was an error while building the SqlMap instance.  
--- The error occurred in com/excellence/yyzwbm/partyorgan/labourunion/sql/Paperoff.xml.  
--- The error occurred while loading the SQL Map resource.  
--- Cause: com.ibatis.sqlmap.client.SqlMapException: XML Parser Error.  Cause: sun.io.MalformedInputException
Caused by: sun.io.MalformedInputException
Caused by: com.ibatis.sqlmap.client.SqlMapException: XML Parser Error.  Cause: sun.io.MalformedInputException
Caused by: sun.io.MalformedInputException
at com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.buildSqlMap(XmlSqlMapClientBuilder.java:203)
at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.java:49)
at org.springframework.orm.ibatis.SqlMapClientFactoryBean.afterPropertiesSet(SqlMapClientFactoryBean.java:258)
at  ... 29 more