Hazelcast 2.5를 사용하고있었습니다. 최근 우리 프로덕션 서버에서 "APPART DEADLOCK"문제가 발생했습니다. 어딘가에 Hazelcast 3.0 이상으로 업그레이드하면 문제가 해결 될 수 있습니다. 이제 3.1로 업그레이드하려고 할 때 ApplicationContext.xml에서 다음과 같은 오류가 발생하고 더 이상 "hz"네임 스페이스를 인식하지 못합니다. 3.1로 업그레이드하기 전에Hazelcast를 2.5에서 3.1로 업그레이드
의 ApplicationContext - hazelcast.xml 내용 (일부 네임 스페이스를 제거) 3.1로 업그레이드 한 후
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:cache="http://www.springframework.org/schema/cache"
xmlns:hz="http://www.hazelcast.com/schema/spring"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache.xsd
http://www.hazelcast.com/schema/spring http://www.hazelcast.com/schema/spring/hazelcast-spring-3.1.xsd">
오류 메시지를
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:cache="http://www.springframework.org/schema/cache"
xmlns:hz="http://www.hazelcast.com/schema/spring"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache.xsd
http://www.hazelcast.com/schema/spring http://www.hazelcast.com/schema/spring/hazelcast-spring-2.5.xsd">
의 ApplicationContext - hazelcast.xml 내용 (일부 네임 스페이스를 제거) :
Multiple annotations found at this line:
- schema_reference.4: Failed to read schema document 'http://www.hazelcast.com/schema/spring/hazelcast-spring-3.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>.
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'hz:hazelcast'.
어떻게하면됩니까?