JSP页面中出现“String cannot be resolved to a type”字符串无法解释为类型
解决方案
1.右键项目名,选择Properties
2.选择Java Build Path,选择Libraries,选中JRE System Library[jdk1.8.0_151],点击Edit
3.选中“Workspace default JRE(Sun JDK 1.8.0_102)”→Finish
JSP页面中出现“String cannot be resolved to a type”字符串无法解释为类型
1.右键项目名,选择Properties
2.选择Java Build Path,选择Libraries,选中JRE System Library[jdk1.8.0_151],点击Edit
3.选中“Workspace default JRE(Sun JDK 1.8.0_102)”→Finish