Java 播放框架编译异常

Java 播放框架编译异常,java,exception,playframework,compiler-errors,Java,Exception,Playframework,Compiler Errors,出现以下错误时,我正在尝试预编译play 1.2.5项目: Compilation error (In /app/controllers/api/Drivers.java around line 168) The file /app/controllers/api/Drivers.java could not be compiled. Error raised is : driverResume cannot be resolved or is not a field play.except

出现以下错误时,我正在尝试预编译play 1.2.5项目:

Compilation error (In /app/controllers/api/Drivers.java around line 168)
The file /app/controllers/api/Drivers.java could not be compiled. 
Error raised is : driverResume cannot be resolved or is not a field

play.exceptions.CompilationException: driverResume cannot be resolved or is not a field
at play.classloading.ApplicationCompiler$2.acceptResult(ApplicationCompiler.java:246)
at org.eclipse.jdt.internal.compiler.Compiler.handleInternalException(Compiler.java:676)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:520)
at play.classloading.ApplicationCompiler.compile(ApplicationCompiler.java:282)
at play.classloading.ApplicationClassloader.getAllClasses(ApplicationClassloader.java:426)
at play.Play.preCompile(Play.java:593)
at play.Play.init(Play.java:299)
at play.server.Server.main(Server.java:159)
driverResume字段是公共字段,在驱动程序类中可见

我用JDK1.6.0在不同的计算机上进行了尝试,我总是得到相同的异常


是否有人知道如何获得有关预编译过程、编译器逻辑的更多信息,或者已经遇到过此类问题?

看起来可能是您误读编译错误的问题。编译器正在抱怨Drivers类,您说该字段在Driver(而不是Drivers)类中是公共的


这可能是问题所在吗?

您可以发布
Drivers.java
的一些部分吗?也就是说,在这里定义
driverResume
、类声明和发生错误的行(理想情况下是整个控制器方法)。driverResume的类型是什么?这种类型的编译器有错误吗?