Reputation: 6003
I am following the tutorial at http://blog.bdoughan.com/2010/08/creating-restful-web-service-part-35.html. I copy and paste the files into netbeans (making sure it works as provided). @XmlInverseReference
shows compile error. Besides import javax.persistence.*
do I need to import something else?
Upvotes: 1
Views: 235
Reputation: 3780
@XmlInverseReference
is an annotation from EclipseLink MOXy used to denote a bidirectional relationship, you'll need to download EclipseLink too to use it. For more information see a further article from the same blog you linked which covers the annotations in further depth.
Upvotes: 1