Is there any one who has some idea about this issue? I run a Junit testing and got the following errors:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in file [C:\devel\webapps\mtrain\WEB-INF\test\app_beans_test.xml]: Initialization of bean failed; nested exception is com.ibatis.common.exception.NestedRuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: com.ibatis.common.exception.NestedRuntimeException: Error parsing
XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Attribute "namespace" must be declared for element type "sqlMap". Caused by: org.xml.sax.SAXParseException: Attribute "namespace" must be declared for element type "sqlMap".
But my web application runs with all map files and doesn't have any errors.
But only the JUnit testing failed. -Henry
