maven项目提示找不到javax.servlet...?
forever 提问于:2017-08-24
1 0

HttpServletRequest,HttpServletResponse类找不到~

  • 所有回答
bluesky 回答于:2017-08-24
0 0

maven pom文件添加:

<dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <version>3.1.0</version>
            <scope>provided</scope>
</dependency>
我来回答    maven项目提示找不到javax.servlet...?