1. Problem
First create a Web project using Maven skeleton when New encountered a problem there is no servlet.
2. reasons
Upon inquiry, because the detected IDEA project did not lead to import the relevant jar package.
3. Solution
Add code file pom.xml <dependencies> tag.
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>
Waiting to jar package is successfully imported into the project, Create New Servlet appeared in the New inside