ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ren lixin <yrlxm...@yahoo.com>
Subject Re: must declare parameterClass for select elemet ?
Date Thu, 28 Jul 2005 03:35:41 GMT
Thank a lot!
I made a low level mistake, now all thing is ok.



Daniel Henrique Ferreira e Silva <dhsilva@gmail.com> wrote:
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 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 * from FOO order by ID>
> 
> 
> 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
>

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