Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9008221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:53:29+00:00 2026-06-16T01:53:29+00:00

I have my cache.xml as below: <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

  • 0

I have my cache.xml as below:

<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>

I see an exception as below

schema_reference.4: Failed to read schema document
‘http://www.springframework.org/schema/gemfire/spring-gemfire-1.2.xsd&#8217;,
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’.

I tried changing to different versions of xsd’s as below but had no luck I still see the issue.

http://www.springframework.org/schema/gemfire/spring-gemfire.xsd

and

http://www.springframework.org/schema/gemfire/spring-gemfire-1.1.xsd

and

http://www.springframework.org/schema/gemfire/spring-gemfire-1.2.xsd

After all the above tries, when I changed to 1.1 version, I see it throws another issue now

cvc-complex-type.2.4.c: The matching wildcard is strict, but no
declaration can be found for element ‘gfe:local-region’.

can anyone help me how can this issue be solved?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T01:53:31+00:00Added an answer on June 16, 2026 at 1:53 am

    I found solution for this. It was with the spring version which needs to be changed to 3.1.1 and gemfire with 6.6.2. I was basically a compatibility issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a asp.net web forms app that uses System.Web.Caching.Cache to cache xml data
I have an xml config file for setting up gemfire as below <?xml version=1.0
I have a framework that generates the XML, based on the HTTP request and
xml.append(<alertDesc>); xml.append(desc); xml.append(</alertDesc>); response.getWriter().write(xml.toString()); response.setContentType(text/xml); response.setHeader(Cache-Control, no-cache); xml is a StringBuffer object. I have
I have cache static resources of my website using manifest file But when I
I have a cache library that stores cached data in normal php files, with
I have set cache headers to be far in future (1 year from now)
we have a cache which I would like to put some transaction scopes around
I have a cache directory I'm trying to have ignored by git which lives
I am using NHibernate and have a cache region specified in my NHibernate configuration:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.