Hi,
1. "private static final long serialVersionUID = 1L;" this line is required and annotation "
@Id @GeneratedValue long Id;" is not required for above line.
2. Where your getting this error while testing the OData Endpoint in browser or Eclipse editor itself?
or
Better you could re-start from beginning as mentioned in my blog.