IDEA异常 cannot resolve symbol 'HttpServletRequest'

如图一在IDEA出现的问题,java编辑器找不到HttpServletRequest包,只需将tomcat中的库倒进来即可如图二。步骤file->project structure->modules->选择对应的项目->dependencies->右侧加号libraries->添加tomcat的library
相关文章
相关标签/搜索