Hi all,
I had a problem with Play! 1.2 / Hibernate / PostgreSQL.
I found the solution here :
https://groups.google.com/d/topic/play-framework/OCis5le57tU/discussionBut know, I'm not able to precompile (and package as a war). But I can run the app, and there is no error in Eclipse.
Here is the log, if someone can help me :
18:01:17,709 INFO ~ Precompiling ...
18:01:18,154 ERROR ~
@68j1dlpie
Cannot start in PROD mode with errors
Compilation error (In /app/models/Intervention.java around line 47)
The file /app/models/Intervention.java could not be compiled. Error raised is :
Type cannot be resolved to a type
play.exceptions.CompilationException: Type cannot be resolved to a type
at play.classloading.ApplicationCompiler$2.acceptResult(ApplicationCompi
ler.java:246)
at org.eclipse.jdt.internal.compiler.Compiler.handleInternalException(Co
mpiler.java:672)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:516)
at play.classloading.ApplicationCompiler.compile(ApplicationCompiler.jav
a:278)
at play.classloading.ApplicationClassloader.getAllClasses(ApplicationCla
ssloader.java:412)
at play.Play.preCompile(Play.java:566)
at play.Play.init(Play.java:291)
at play.server.Server.main(Server.java:158)