为什么测试的时候出现这个错误
Exception in thread "main" java.lang.ExceptionInInitializerError
at test.Test.main(Test.java:27)
Caused by: org.hibernate.MappingException: An association from the table proemp refers to an unmapped class: entity.Project
at org.hibernate.cfg.Configuration.secondPassCompileForeignKeys(Configuration.java:1805)
at org.hibernate.cfg.Configuration.originalSecondPassCompile(Configuration.java:1739)
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1424)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1844)
at util.HibernateUtil.<clinit>(HibernateUtil.java:21)
... 1 more