the method getcontextpath() from the type httpservletrequest refers to the missing type string
在做java项目开发的时候,jsp页面很容易报出这个错误。错误的原因很多,但是都和JRE有关。一般在导入项目的时候容易报出这个错误,主要因为JRE(jdk版本不一致)。解决方法:就是重新配置路径,配置你机器上安装的jdk。
右击该出错项目→ Build Path → Configure Build Path → 在 Libraries 选项下,会发现有个出错的jre Libraries,将其Rem
原创
2017-10-26 14:48:38 ·
9819 阅读 ·
2 评论