Using twirl for generating template class. Everything is working fine with sbt and the webpages are rendering.
I am using Scala-IDE for development. And in the Scala-IDE the reference to the template class i.e. "html.test()", test is the template name, is showing as an error.
This is the error:
Description Resource Path Location Type
missing or invalid dependency detected while loading class file 'test.class'. Could not access term api in value .twirl, because it (or its dependencies) are missing. Check your build definition for missing or conflicting dependencies. (Re-run with -Ylog-classpath
to see the problematic classpath.) A full rebuild may help if 'test.class' was compiled against an incompatible version of .twirl. ApiService.scala /api/src/main/scala/com/komma/api/rest line 97 Scala Problem.
I did a clean and it is giving "not found: value html" error now.
Is there any way to resolve this error in the scala IDE ?
Thanks.
--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/1196caeb-0869-435d-8767-fc5f0f773014%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/0a3555e3-3c51-4254-9471-661d3d9dc677%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/083f4efc-bdb4-4ea2-bd1c-b263a10a6695%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Scala IDE User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scala-ide-user/rS6YmjJb8Aw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/a2e8036f-0e15-4ede-8785-bee0086ce845%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/CAAiVq_166yj0BZtf%2BuwqdK0SvxObVim4G-wF4z0VQTe8cGnaew%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/CANpg8PAYyycRVEjUc6srKAGj%2B4w3--CrSAa3UiEtxKaesd9Tug%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/BB75C61A-495F-42EE-8ECB-33B9494D460B%40gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Scala IDE User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scala-ide-user/rS6YmjJb8Aw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scala-ide-user+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/54D41178.8020301%40antoras.de.
Thanks, good to know!I wonder how does the presentation compiler need to be different than sbt; in both, it seems the task can be summed up as fast incremental compilation. So I wonder what is the fundamental difference I am missing.
On Fri, Feb 6, 2015 at 2:57 AM, Simon Schäfer <ma...@antoras.de> wrote:
On 02/05/2015 11:06 PM, Naftoli Gugenheim wrote:
Right, so the editor is very different than actually building. I think some of these are known issues, not sure about the moving the class. Basically sbt technology is better than the editor's situation.The IDE contains an additional cache for the presentation compiler. In case of the moving class, this cache is not correctly refreshed hence the error message of the duplicate definition. I think, because it is just an error in the presentation compiler, you should be able to run the code in the IDE. But that doesn't change anything about the fact that such errors are annoying.
It is possible to restart the presentation compiler (and clean its cache by doing so) by right clicking on the project and selecting Scala > restart presentation compiler.
--
You received this message because you are subscribed to a topic in the Google Groups "Scala IDE User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scala-ide-user/rS6YmjJb8Aw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/54D41178.8020301%40antoras.de.
--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/CAAiVq_0PKvewEz6%2BJNmdqZMOY99d_GGUQHn-tFWH4TEjAOL%3Dpg%40mail.gmail.com.