spring boot jpa-java.lang.IllegalArgumentException: Not a managed type异常问题解决方法 出现上述问题的原因 出现上述问题的原因 是由于实体类上缺少@entity注解 解决办法就是直接加上@entity解决就可以了