DAOManager unable to parse dao.xml file
---------------------------------------

                 Key: IBATIS-347
                 URL: http://issues.apache.org/jira/browse/IBATIS-347
             Project: iBatis for Java
          Issue Type: Bug
         Environment: Windows
            Reporter: brian kelly
            Priority: Minor


Hi,

I'm making a call to iBatis via:

Reader reader = Resources.getResourceAsReader(''dao.xml'');
DAO_MANAGER = DaoManagerBuilder.buildDaoManager(reader);

The buildDaoManager throws the exception below. Can anyone suggest if something 
is incorrectly configured or if this is a bug with iBatis?

06/09/21 14:00:12 com.ibatis.dao.client.DaoException: Error while configuring 
DaoManager.  Cause: java.lang.RuntimeException: Error occurred.  Cause: 
com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: 
java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'.  Cause: 
com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: 
java.lang.RuntimeException: Error parsing XPath '/sqlMap/resultMap'.  Cause: 
java.lang.RuntimeException: Error configuring Result.  Could not set 
ResultClass.  Cause: java.lang.ClassNotFoundException: 
org.apache.struts.util.LabelValueBean

Regards,
Brian


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to