我通常會得到這樣的錯誤不是當上線:沒有聲明可以爲元素(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