Is there anyone who can help me out? when i run the ibatis tutorial
sample. system throw out this exception.
 
thx
 
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: IBatisNet.Common.Exceptions.ConfigurationException:
Invalid SqlMap.config document. cause :The attribute targetNamespace
does not match the designated namespace URI. An error occurred at
file:///C:/WINNT/system32/SqlMapConfig.xsd, (2, 2). The 'sqlMapConfig'
element is not declared. An error occurred at , (1, 2). The 'properties'
element is not declared. An error occurred at , (3, 6). Could not find
schema information for the attribute 'resource'. An error occurred at ,
(3, 17). The 'settings' element is not declared. An error occurred at ,
(5, 3). The 'setting' element is not declared. An error occurred at ,
(5, 13). Could not find schema information for the attribute
'useStatementNamespaces'. An error occurred at , (5, 21). The 'setting'
element is not declared. An error occurred at , (5, 55). Could not find
schema information for the attribute 'cacheModelsEnabled'. An error
occurred at , (5, 63). The 'database' element is not declared. An error
occurred at , (5, 103). The 'provider' element is not declared. An error
occurred at , (5, 113). Could not find schema information for the
attribute 'name'. An error occurred at , (5, 122). The 'dataSource'
element is not declared. An error occurred at , (5, 144). Could not find
schema information for the attribute 'name'. An error occurred at , (5,
155). Could not find schema information for the attribute
'connectionString'. An error occurred at , (5, 177). The 'sqlMaps'
element is not declared. An error occurred at , (5, 230). The 'sqlMap'
element is not declared. An error occurred at , (5, 239). Could not find
schema information for the attribute 'resource'. An error occurred at ,
(5, 246). 

Reply via email to