You did not set CacheConfiguration#indexedTypes property. See documentation for more details: https://apacheignite.readme.io/docs/cache-queries#query-configuration-by-annotations
-Val On Sat, Dec 2, 2017 at 12:24 AM, kcheng.mvp <kcheng....@gmail.com> wrote: > by the way, here is my maven dependency. > > the unit test starts two server node local and a client node. > > <dependency> > <groupId>org.apache.ignite</groupId> > <artifactId>ignite-core</artifactId> > <version>${ignite.version}</version> > </dependency> > > <dependency> > <groupId>org.apache.ignite</groupId> > <artifactId>ignite-spring</artifactId> > <version>${ignite.version}</version> > </dependency> > > <dependency> > <groupId>org.apache.ignite</groupId> > <artifactId>ignite-indexing</artifactId> > <version>${ignite.version}</version> > </dependency> > > > > > > > -- > Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/ >