When you are developing JPA applications, you must set up the facet.
To set up the facet:
- In the Project Explorer view, choose the dynamic Web project or EJB project using JPA.
- From the Eclipse menu bar, choose Project - Property.
The Property: Project-name dialog box appears.
- In the left pane of the Property: Project-name dialog box, choose Project Facets.
The Project Facets page appears.
![[Figure]](figure/zu0l0310.gif)
- In the Project Facets page, check JPA, and then specify 2.0 as the version.
On the Project Facets page, Further configuration required or Further configuration available is displayed.
![[Figure]](figure/zu0l0320.gif)
- Click the link displayed in step 4.
The Modify Faceted Project dialog box appears.
![[Figure]](figure/zu0l0330.gif)
- In the Modify Faceted Project dialog box, enter the following items.
- Specify Generic 1.0 in Platform.
- Specify Disable Library Configuration in Type of JPA implementation.
- Click the OK button.
- In the Property: Project-name dialog box, click the OK button.