spring - When RepositoryFactoryBeanSupport setMappingContext should be called? -


i encounter issue when initializing repository.

error creating bean name 'resourcemappings' defined in class path resource [org/springframework/data/rest/webmvc/config/repositoryrestmvcconfiguration.class]: bean instantiation via factory method failed; nested exception org.springframework.beans.beaninstantiationexception: failed instantiate [org.springframework.data.rest.core.mapping.repositoryresourcemappings]: factory method 'resourcemappings' threw exception; nested exception java.lang.illegalargumentexception: persistententity must not null! 

it appears mappingcontext null.

i have tried debug can't find anywhere in code setmappingcontext called.

is there way initialize myself ?


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -