ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ren lixin <yrlxm...@yahoo.com>
Subject must declare parameterClass for select elemet ?
Date Tue, 26 Jul 2005 16:25:54 GMT
hi!

when I deploy webapp with ibatis(2.1.5)  on
tomcat(5.5) & jonas(4.3.3)-tomcat(5.0), it report
error for initialize DaoConfig:
 
Caused by: java.lang.RuntimeException: Could not
initialize DaoConfig.  
Cause: com.ibatis.dao.client.DaoException: Error
while configuring DaoManager.  
Cause:
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: Attribute
"parmeterClass" must be declared for element type
"select".

 
and the .xml is like this:
 
   <select id="getAllList" resultMap="fooResult" >
 	select * from FOO order by ID
   </select>
 
 
but it's very good on Resin 3, throw none Exception :(
 
help me!
 
best regard.
 
 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message