Java Mailing List Archive

http://www.java2.5341.com/

Home » user-java.ibatis »

Problem when parsing dao.xml

David

2009-10-07

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi at all.
I am trying to make a simple example with ibatis, but I get a error when parsing dao.xml


Exception in thread "main" 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: java.net.ConnectException: Connection timed out: connect
Caused by: java.net.ConnectException: Connection timed out: connect
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: java.net.ConnectException: Connection timed out: connect
Caused by: java.net.ConnectException: Connection timed out: connect
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error occurred.  Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: java.net.ConnectException: Connection timed out: connect
Caused by: java.net.ConnectException: Connection timed out: connect
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: java.net.ConnectException: Connection timed out: connect
Caused by: java.net.ConnectException: Connection timed out: connect
    at es.foro.dao.DAOConfig.getDAOManager(DAOConfig.java:37)
    at es.foro.presentacion.Main.main(Main.java:16)

Anybody know what might be the connection error while parsing the xml? It may be a thing of the dtd? Why then do work other applications?

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.