I think i had this error and you need the optional xml jar files from your ibatis download.
Steve -----Original Message----- From: Swati Singhal [mailto:[EMAIL PROTECTED] Sent: Wed 3/16/2005 9:36 AM To: [email protected] Subject: Need help!! Hi, I'm new to iBATIS and am stuck with an error. My application uses Struts and iBATIS. As of now, I have a simple properties file with the following properties: driver url username password I have created the sql-map-config.xml file that reads this property file and have a transaction manager=JDBC element to read all the properties from this property file. Have also defined an sql-map resource as the file which contains my queries. My problem is that I have created a DAOConfiguration.java file which does the following: a.It reads the dao.xml file b.Reader reader = Resources.getResourceAsReader(resource); c.daoManager = DaoManagerBuilder.buildDaoManager(reader); However I get an error at line c. that says: Error in DAOConfig:Error while configuring DaoManager. Cause: com.ibatis.common.exception.NestedRuntimeException: XML Parser Error. Cause: org.xml.sax.SAXException: Fatal Error: URI=null Line=1: Premature end of file. Any help will be highly appreciated! Thanks, Swati __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
<<winmail.dat>>

