Error: unexpected token: spring with gemfire

Asked on December 21, 2014
Hi All,

I am learning Spring with Gemfire and creating a test application. While running my application, I am getting error unexpected token "test". I have defined my entity with "test" region.

Caused by: com.gemstone.gemfire.cache.query.QueryInvalidException: Syntax error in query:  unexpected token: test
at com.gemstone.gemfire.cache.query.internal.QCompiler.compileQuery(
at com.gemstone.gemfire.cache.query.internal.DefaultQuery.<init>(
at com.gemstone.gemfire.cache.query.internal.DefaultQueryService.newQuery(

Please let me know what am I missing.

Replied on December 21, 2014
You can check if you have defined region "test" in configuration with LocalRegionFactoryBean bean.

You can check the link below for complete example of spring and gemfire.

Replied on December 21, 2014
Nice Example.


Write Answer

©2023 | Privacy Policy | Contact Us