在项目上右击,选择“Properties",按以下配置:
step1. Typing in 'fa...' in the popup page, then click Enter.step2. Select ‘Project Facets’step3. Select ‘java’、‘Dynamic Web Module’step4. Click 'Apply'step5. Click 'OK'