I have a JPA entity with a property set as
@ManyToOne
@Column(name=\"LicenseeFK\")
private Licensee licensee;
But when I deploy on JBoss 6
In my case @VaishaliKulkarni's answer was helpful to identify the problem.
I missed to write field for @Column annotion and it effected on next field.
@Column(name = "account_id")
// I forgot to write field here
@ManyToOne
@JoinColumn(name = "customer_id")
private Customer customer;
So, I was getting exception at "customer" field.