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 <[EMAIL PROTECTED]> 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 >