显示的错误是The method getParameter(String) from the type ServletRequest refers to the missing type String
想问一下这该怎么解决
收起
与这个类似,检查下项目JDK的配置 the method getcontextpath() from the type httpservletrequest refers to the missing type string_全世界谁会倾听你的博客-CSDN博客 在做java项目开发的时候,jsp页面很容易报出这个错误。错误的原因很多,但是都和JRE有关。一般在导入项目的时候容易报出这个错误,主要因为JRE(jdk版本不一致)。解决方法:就是重新配置路径,配置你机器上安装的jdk。右击该出错项目→ Build Path → Configure Build Path → 在 Libraries 选项下,会发现有个出错的jre Libraries,将其Rem https://blog.csdn.net/qq_36430463/article/details/78353768
报告相同问题?