You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "brian kelly (JIRA)" <ib...@incubator.apache.org> on 2006/09/21 15:43:22 UTC

[jira] Created: (IBATIS-347) DAOManager unable to parse dao.xml file

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

        

Re: [jira] Created: (IBATIS-347) DAOManager unable to parse dao.xml file

Posted by Larry Meadors <lm...@apache.org>.
This issue has been deleted.

Larry


On 9/21/06, brian kelly (JIRA) <ib...@incubator.apache.org> wrote:
> 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
>
>
>