我一直在玩一个非常简单的JPA示例,并试图将其调整为现有数据库。但我无法克服这个错误。(下。)它只是一些我没有看到的简单的东西。org.hibernate.hql.internal.ast.QuerySyntaxException:FooBarisnotmapped[SELECTrFROMFooBarr]org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180)org.hibernate.hql.internal.ast.tre