The method getContextPath() from the type HttpServletRequest refers to the missing type
2013-11-17 13:21
609 查看
出现这种错误,秩序两步就可以解决
1 右击该项目 - Build Path - Configure Build Path , 在 Libraries 选项下,会发现有个出错的jre Libraries,将其Remove掉。
2 然后右击该项目 - Build Path - Add Library, 选择JRE System Library,选择Workspace defaulr JRE(jdk1.6)(此前JDK已成功安装并配置好),
然后 Finish 。
1 右击该项目 - Build Path - Configure Build Path , 在 Libraries 选项下,会发现有个出错的jre Libraries,将其Remove掉。
2 然后右击该项目 - Build Path - Add Library, 选择JRE System Library,选择Workspace defaulr JRE(jdk1.6)(此前JDK已成功安装并配置好),
然后 Finish 。
相关文章推荐
- The method getContextPath() from the type HttpServletRequest refers to the missing type
- the method getcontextpath() from the type httpservletrequest refers to the missing type string
- The method getContextPath() from the type HttpServletRequest refers to the missing type
- The method getContextPath() from the type HttpServletRequest refers to the missing type
- The method getContextPath() from the type HttpServletRequest refers to the missing type
- The method getContextPath() from the type HttpServletRequest refers to the missing type
- The method getContextPath() from the type HttpServletRequest refers to the missing type
- The method getContextPath() from the type HttpServletRequest refers to the missing type
- The method getContextPath() from the type HttpServletRequest refers to the missing type
- String cannot be resolved to a type - The method getContextPath() from the type HttpServletRequest r
- The method getContextPath() from the type HttpServletRequest
- - String cannot be resolved to a type - The method getServerName() from the type ServletRequest
- SSH出错---The method getRealPath(String) from the type ServletRequest is deprecated request.getRealPath("")
- The method getServletContext() is undefined for the type HttpServletRequest
- The method getServletContext() is undefined for the type HttpServletRequest
- the method getDispatcherType() is undefined for the type HttpServletRequest
- 升级到tomcat8遇到The method getDispatcherType() is undefined for the type HttpServletRequest
- The method read(CharBuffer) from the type Reader refers to the missing type CharBuffer
- The method queryForMap(String, Object...) from the type JdbcTemplate refers to the missing type DataAccessException
- The method getDispatcherType() is undefined for the type HttpServletRequest