Play中xxx cannot be resolved to a type 错误解决方法

Posted NewWorldForU

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Play中xxx cannot be resolved to a type 错误解决方法相关的知识,希望对你有一定的参考价值。

Play中xxx cannot be resolved to a type 错误解决方法

1、Controller 与 models 的类名相同。

2、如果你是复制的java,检查一下是否导入包。个人是复制的java,由于没用idea编译,所以不会自动导入包,导致报错。

以上是关于Play中xxx cannot be resolved to a type 错误解决方法的主要内容,如果未能解决你的问题,请参考以下文章

XXX cannot be resolved to a type

xxx cannot be resolved to a type 错误解决方法

eclipse 导入类 提示The import XXX cannot be resolved

The type XXX cannot be resolved. It is indirectly referenced from required .class files错误.

在eclipse中新建java问题报错:The type XXX cannot be resolved. It is indirectly referenced from required .clas

Eclipse Android项目 为控件添加了Id,但是在Java代码中提示xxx cannot be resolved or is not a field