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 错误解决方法的主要内容,如果未能解决你的问题,请参考以下文章