The archetype that we selected for the project does not include some of the dependencies required for a JEE web project. Therefore, you might see error markers in index.jsp. We will fix this by adding dependencies for the JEE libraries:
- With pom.xml open in the editor, click on the Dependencies tab.
- Click the Add button. This opens the Select Dependency dialog.
- In the filter box, type javax.servlet (we want to use servlet APIs in the project).
- Select the latest version of the API and click the OK button.
However, we need JAR files for servlet APIs only at the compile ...