ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <larry.mead...@gmail.com>
Subject Re: com.ibatis.common.exception.NestedRuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'
Date Thu, 25 Aug 2005 12:18:19 GMT
Can you send your xml file as an attachment, and also provide a stack trace?

Larry


On 8/25/05, Cesar Villar <cesarvillarcar@yahoo.es> wrote:
> Hi evereybody!!
> I have a dao layer defined in my sql-map-config with
> several sqlMaps. Recently, when i try to access to
> this layer i get this error:
> - AbstractUnafeDAO static block:
> 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: Falta
> elemento de raíz de documento.
> 
> I've tried to delete all sqlMap references from the
> sql-map-config and included one by one. I discovered
> that only with a few got this error. So I clear the
> content of these XML archives with only
> <sqlMap></sqlMap>. But i'm having the same error.
> 
> ¿What can I do? I have no idea to resolve it.
> Thanks a lot
> 
> 
> 
> ______________________________________________
> Renovamos el Correo Yahoo!
> Nuevos servicios, más seguridad
> http://correo.yahoo.es
>

Mime
View raw message