The method xx from the type xx refers to the missing type List等问题的解决办法

Posted luke-liu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The method xx from the type xx refers to the missing type List等问题的解决办法相关的知识,希望对你有一定的参考价值。

这个问题真的是在网上找了好久 导入项目之后运行就出现500错误然后错误显示这个 在网上查阅之后发现两种种解决办法

1. # 将import删掉,重新导入。

重新导入后,可以发现错误立马消失了,但是一会儿还是回归之前的状态,不过有些人通过这种方式解决了错误。

2. # build path 全部remove再添加

以eclipse为例,右键项目 -> build path -> configure ,将显示的四个全部remove,再add添加上。

我就是用的第二种解决的

以上是关于The method xx from the type xx refers to the missing type List等问题的解决办法的主要内容,如果未能解决你的问题,请参考以下文章

The method getContextPath() from the type HttpServletRequest refers to the missing type

The method queryForMap(String, Object...) from the type JdbcTemplate refers to the missing type Data

Access restriction: The method createJPEGEncoder(OutputStream) from the type JPEGCodec is not access

Access restriction: The method createJPEGEncoder(OutputStream) from the type JPEGCodec is not access

Duplicate methods named spliterator with the parameters () and () are inherited from the types Colle

JAVA克隆对象报错:The method clone() from the type Object is not visible