Community
Participate
Working Groups
Steps to reproduce: 1. Create a new dynamic web project. 2. Click to Modify facets. 3. Add the JAX-RS facet (REST Web Services) facet. 4. Click Finish on the dynamic web project. Problem: An error is shown in the Problems view on web.xml on the new web project "The value of the <servlet-class> element is not specified." Expected results: I would be expected to provide a servlet class at web project create time when adding the JAX-RS facet.
Actually the validation errors shown on the properties page and not web.xml (no library chosen & servlet name not specified).
Created attachment 177045 [details] patch for project lead review
Tested thoroughly for problem outlined in defect. As well, tested 2nd time through wizard (JAX-RS library & servlet name now defined), I am able to complete new web project wizard on first page (as expected).
Released to 3.2.2 & HEAD.