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 parsin g 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:
>
>
>
>
> 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