Hi, I'm using play framework. I try to deploy my app but when I push to heroku git repo, there is an error in Precompiling : --- 17:52:40,312 ERROR ~
@6ahi024aj Cannot start in PROD mode with errors Compilation error (In /app/controllers/bus/Services.java around line 67) The file /app/controllers/bus/Services.java could not be compiled. Error raised is : The method find(String, int) is undefined for the type Service play.exceptions.CompilationException: The method find(String, int) is undefined for the type Service 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: 424) at play.Play.preCompile(Play.java:582) at play.Play.init(Play.java:299) at play.server.Server.main(Server.java:158) ! Failed to build Play! application ! Cleared Play! framework from cache ! Heroku push rejected, failed to compile Play! app To [email protected]:deep-fog-4834.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to '[email protected]:deep-fog-4834.git' --- But when I precompiling in my local machine, the Precompiling work : 20:03:29,824 INFO ~ Precompiling ... 20:03:44,615 INFO ~ Done. So, I don't know if it's an error in Heroku or in my code ? Thanks. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en
