“Not a managed type: class java.lang.Object” when creating a Spring Data repository

In the repository interface if try removing the type from the interface , it will fix your issue:

//                              | No type information needed here! 
interface ConfigParamsRepository extends CrudRepository<ConfigParamsJpa, String> {
    
}

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top