Right-click the item
add frameworks support
Choose java ee 8
Check web application. Note that 4.0 can only appear if ee8 is selected above.
Right-click the item
add frameworks support
Choose java ee 8
Check web application. Note that 4.0 can only appear if ee8 is selected above.