.
Note: If your runtime target is WebSphere Application Server, Version
7.0, then there will be errors in the Problems view regarding annotations
not being recognized. For example,
The annotation PersistenceUnit will
not be recognized by WebSphere Application Server v7.0 runtimes. Set the
UseEJB61FEPScanPolicy custom property to true in the MANIFEST.MF file for
this module. You must correct these problems before you can run the
Web project on the server.
To fix the problems, do the following steps:
- In the Problems view, right-click one of the errors and select Quick
Fix.
- In the Quick Fix window, ensure that you select the fix Set
the UseEJB61FEPScanPolicy custom property to true in the MANIFEST.MF file
for this module and then click Finish.
The error messages disappear.