异常信息
Exception in thread "task-2" java.lang.IllegalStateException:EntityManagerFactory is closed
错误原因:service类不在启动类的扫描包里
异常信息
Exception in thread "task-2" java.lang.IllegalStateException:EntityManagerFactory is closed
错误原因:service类不在启动类的扫描包里