Open Srikrishna31 opened 3 years ago
Hey @Srikrishna31, the issue is that you're specifying an incorrect source_directory
; the source directory must point to where the templates live. In your case, this should be src/main/scala/views
Hi @SrodriguezO , thank you for pointing that out. Changing the source_directory fixed the issue. I think the documentation needs to be updated to reflect this fact. It is not clear from reading it.
This issue is continuation of https://github.com/lucidsoftware/rules_twirl/issues/32 After upgrading the version, I have a new problem.
My index.scala.html and main.scala.html are very simple files. main.scala.html doesn't take any parameters, and that might be causing a NullPointerException? It's the same PR: Srikrishna31/scala_play#9 Thanks, Krishna Addepalli