Spring Data Rest (SDR) error: PersistentEntity must not be null -
i'm working expose spring data repositories via sdr. when navigate rest url ( http://localhost:8080/trxes ), error: {"cause":null,"message":"persistententity must not null!"} on closer inspection of spring data source, see getrepositoryfactoryinfofor() method returns empty repository information i.e. private repositoryfactoryinformation<object, serializable> getrepositoryfactoryinfofor(class<?> domainclass) { assert.notnull(domainclass, "domain class must not null!"); repositoryfactoryinformation<object, serializable> repositoryinfo = repositoryfactoryinfos.get(classutils .getuserclass(domainclass)); return repositoryinfo == null ? empty_repository_factory_info : repositoryinfo; } the probable reason problem persistent entities inherit single base class, , i'm using single table strategy follows: there trx table in database matching trx class. variableincome, variableexpense, fixedin...