gemfire local region creation

gkindlcrows

New Member
I have my cache.xml as below:\[code\]<beans xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gfe="http://www.springframework.org/schema/gemfire"xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util"xmlns:context="http://www.springframework.org/schema/context"xmlns:cache="http://www.springframework.org/schema/cache"xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire-1.2.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"><cache:annotation-driven /><context:property-placeholder location="classpath:test-cache.properties" system-properties-mode="OVERRIDE" /><util:properties id="gemfireProperties"> <prop key="mcast-port">0</prop> <prop key="log-level">info</prop> <prop key="license-data-management">${license-data-management}</prop></util:properties><gfe:cache properties-ref="gemfireProperties" id="gemfireCache" /><gfe:local-region id="pet-region"> <gfe:cache-listener> <bean class="com.mycompany.cache.TestLoggingCacheListener" /> </gfe:cache-listener></gfe:local-region>\[/code\]I see an exception as below\[quote\] schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/gemfire/spring-gemfire-1.2.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'gfe:cache'.\[/quote\]I tried changing to different versions of xsd's as below but had no luck I still see the issue.\[quote\] http://www.springframework.org/schema/gemfire/spring-gemfire.xsd\[/quote\]and \[quote\] http://www.springframework.org/schema/gemfire/spring-gemfire-1.1.xsd\[/quote\]and \[quote\] http://www.springframework.org/schema/gemfire/spring-gemfire-1.2.xsd\[/quote\]After all the above tries, when I changed to 1.1 version, I see it throws another issue now\[quote\] cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'gfe:local-region'.\[/quote\]can anyone help me how can this issue be solved?
 
Back
Top