Troubleshooting
Problem
Backward compatibility is not handled for JSR 168 Portlet projects in Rational Application Developer Version 7.5, as a result JSR 168 Portlet projects created in Rational Application Developer V7.5 gives compilation errors when migrated back to Rational Application Developer Version 7.0 and later.
Symptom
Compilation errors in JSR 168 Portlet projects migrated back from Rational Application Developer Version 7.5 to Rational Application Developer Version 7.0 and later
Cause
The JSR facets have been renamed in Rational Application Developer Version 7.5, thus these will not be recognized in Rational Application Developer Version 7.0 and later
Resolving The Problem
The matrix lists the JSR facets recognized in the Rational Application Developer Version 7.0 and later:
Facets / Portlet Project | JSR 168 Basic and Empty | JSR 168 Faces Portlet projects | JSR 168 StrutsPortlet projects |
JSR 168 Portlets | * | * | * |
JSR 168 Portlets on Websphere Portal | * | * | * |
JSR 168 Portlets with Faces | NA | * | NA |
Struts for JSR 168 portlets | NA | NA | * |
Perform the following steps to change the facets:
Right click on the Portlet Project migrated to Rational Application Developer Version 7.0 and later.
Select Properties --> Project Facets.
Click on Add/Modify Project facets.
Choose the facets required by the project and click OK.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21318734