jsp页面出现“String cannot be resolved to a type”错误解决办法

篇首语:小编为大家整理,主要介绍了jsp页面出现“String cannot be resolved to a type”错误解决办法相关的知识,希望对你有一定的参考价值。

jsp页面出现“String cannot be resolved to a type”错误解决办法

解决办法:

   右键项目名→Properties→​​Java ​​Build Path→Libraries→选中JRE System Library[Sun JDK 1.8.0_102]→Edit→选中“Workspace default JRE(Sun JDK 1.8.0_102)”→Finish

jsp页面出现“String cannot be resolved to a type”错误解决办法_第1张图片

jsp页面出现“String cannot be resolved to a type”错误解决办法_第2张图片

解决办法:

   右键项目名→Properties→​​Java ​​Build Path→Libraries→选中JRE System Library[Sun JDK 1.8.0_102]→Edit→选中“Workspace default JRE(Sun JDK 1.8.0_102)”→Finish

jsp页面出现“String cannot be resolved to a type”错误解决办法_第3张图片

jsp页面出现“String cannot be resolved to a type”错误解决办法_第4张图片

以上是关于jsp页面出现“String cannot be resolved to a type”错误解决办法的主要内容,如果未能解决你的问题,请参考以下文章

java.lang.String cannot be cast to java.util.Date

解决java.lang.String cannot be cast to java.lang.Integer异常

java.lang.ClassCastException: java.lang.String cannot be cast to com.jy.hfims.domain 映射实体类型错误

Cause: java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.ibatis.mapping.M

IntelliJ IDEA 15 Play 2.4 反向路由方法参数“string cannot be applied to java.lang.String”

java.lang.String cannot be converted to org.slf4j.Marker

你可能感兴趣的:(java,intellij-idea,开发语言)