Learning Spring MVC and Hibernate.
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class Customer {
In @Entity line there is an error : entity cannot be resolved to a type
I got jars from spring-framework-2.5.6 Can you please tell me what I am missing here ?
You are missing an import statement:
import javax.persistence.Entity;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With