Java Mailing List Archive

http://www.junlu.com/

Home » user-cs.ibatis »

Error occurred while loading SqlMap

jmsandy

2009-10-13

Replies: Find Java Web Hosting

Author LoginPost Reply

 
Good afternoon everyone!

I'm having problem with iBATIS. I am using reflection to create the assembly
objects. But going on an error. It happens only in one class.

The error is as follows:

"\r\n- The error occurred while loading SqlMap.\r\n- loading type alias\r\n-
The error occurred in <sqlMap
resource=\"${root}Informix\\Configuration\\ElementType.xml\"
xmlns=\"http://ibatis.apache.org/dataMapper\" />."}

Here is my sqlmap. What could be.

<sqlMaps>
  ......
  <sqlMap resource="${root}Informix\Configuration\ElementType.xml" />
  ......
 </sqlMaps>

This my xml file(ElementType.XML):

<sqlMap namespace="ElementTypeEO" xmlns="http://ibatis.apache.org/mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<alias>
  <typeAlias alias="Base.EO.ConfigurationEO.ElementTypeEO.ElementTypeEO,
Base" />
</alias>
<resultMaps>
  <resultMap id="MapElementTypeEO" class="ElementTypeEO">
   <result property="Id" column="id" />
   <result property="OtherObj.ID" column="id_other/>
  </resultMap>
</resultMaps>


Thanks.

--
Sent from the iBATIS - User - Cs mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-cs-unsubscribe@(protected)
For additional commands, e-mail: user-cs-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.