This is probably a silly error, but cannot find why it is happening. Basically, STS is complaining about the hz:partition-group tag with the error below:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'hz:partition-group'. One of '{"
http://www.hazelcast.com/schema/spring":map, "
http://www.hazelcast.com/schema/spring":multimap, "
http://www.hazelcast.com/schema/spring":list, "
http://www.hazelcast.com/schema/spring":set, "
http://www.hazelcast.com/schema/spring":topic, "
http://www.hazelcast.com/schema/spring":listeners, "
http://www.hazelcast.com/schema/spring":serialization, "
http://www.hazelcast.com/schema/spring":security}' is expected.
This is my application context dedicated to Hazelcast: (note, if I remove the partition-group tag, it works just fine. What am I doing wrong ?
Thanks!
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="
http://www.springframework.org/schema/beans"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
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.2.xsd http://www.hazelcast.com/schema/spring http://www.hazelcast.com/schema/spring/hazelcast-spring-3.1.xsd">
<hz:hazelcast id="hazelcast">
<hz:config>
<hz:group name="dev-user" password="dev-pass" />
<hz:network port="7771" port-auto-increment="true">
<hz:join>
<hz:multicast enabled="false" />
<hz:tcp-ip enabled="true">
<hz:member>127.0.0.1</hz:member>
</hz:tcp-ip>
</hz:join>
</hz:network>
<hz:map name="msgMap" backup-count="1" async-backup-count="0"
read-backup-data="true" eviction-policy="LRU" time-to-live-seconds="120"
max-size="50" max-size-policy="USED_HEAP_PERCENTAGE">
</hz:map>
<hz:partition-group enabled="true" group-type="CUSTOM" />
</hz:config>
</hz:hazelcast>
</beans>