报错: Error creating bean with name ‘productRepository’: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class java.lang.Object 错误原因 未指明实体类和主键: 改正后: 好啦~ yeah yeah yeah~