2021-01-11

Solved for my case.

 


Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean defined in @EnableJpaRepositories declared on Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class java.lang.Object



Replace interface by remove <User>


@Repository
public interface RepoUser<User> extends JpaRepository<User, UserID> {



@Repository
public interface RepoUser extends JpaRepository<User, UserID> {






No comments:

Post a Comment