我通常会得到这样的错误不是当上线:没有声明可以为元素(XML架构)中找到
org.xml.sax.SAXParseException; lineNumber: 55; columnNumber: 33; schema_reference.4: Failed to read schema document 'http://www.hazelcast.com/schema/spring/hazelcast-spring-2.1.xsd',
because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
Caused by: java.net.ConnectException: Connection timed out: connect
...no declaration can be found for element 'hz:hazelcast'.
什么解决的办法,使其不必连接到互联网只是为了这个每一次。
我明白了,那可能是问题所在 – xybrek 2013-02-15 17:55:44