ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Henrique Ferreira e Silva <dhsi...@gmail.com>
Subject Re: must declare parameterClass for select elemet ?
Date Tue, 26 Jul 2005 23:18:01 GMT
Hi Ren,

It seems there is a typo in your sql maps.
Check the stack trace again for:

 parmeterClass <-- it should be parameterClass

Hope that helped,
Daniel Silva.

On 7/26/05, ren lixin <yrlxmail@yahoo.com> wrote:
> 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