I am receiving the following Hibernate Exception:
@OneToOne or @ManyToOne on Matchup.awayTeam references an unknown entity: Team
The simplified
If you do not use the hibernate.cfg.xml you can add targetEntity parameter in @ManyToOne/@OneToMany annotation with class describing your entity.
hibernate.cfg.xml
@ManyToOne/@OneToMany
For instance:
@ManyToOne(targetEntity = some.package.MyEntity.class)