Closed Wangchimei closed 4 years ago
What os + jdk are you using? I'll try to reproduce, and fix your issues later today. With version 1.5.0 I rewrote how we load the native libsass library, because of a deprecation warning on the old method. However, I notice that the new method isn't available on the Native class on your classpath. I'll need to do some investigation though.
Thank you very much for investigating this. I am using macOS 10.15.4 and JDK 8 (java version "1.8.0_241").
Just a quick update to the current status, our team got the v1.4.x working perfectly with our project. What was preventing the plugin from compiling scss was actually the stylesheets folder under public folder that we used to use (generated by another compiler). Once the folder was deleted completely, it worked like a charm. :) As for v1.5.0, NoSuchMethodError and NoClassDefFoundError are still showing.
I can reproduce your issue with version 1.5.0. I've reverted the way that the native library is loaded. For me, this fixed the issue with compiling in your setup. Could you have a look at whether this fixed your problems as well, using version 1.5.1?
It works now. Thank you so much. :)
First of all, I am not familiar with Play yet, so please bear with me if this seems like a beginner question.
Since we are working with Sass with Play, we have included this plugin in our project according to the Play and sbt-sassify documentation.
Please see our project built as below,
I tried using sbt-sassify 1.4.12 and 1.4.13 yesterday. Af first, I ran
sbt run
, but under public/stylesheets, the compiled CSS was not being generated. I tried usingsbt assets
as well, but it did not seem like the compiler was executing.Today, I tried using sbt-sassify v1.5.0 instead, and when I ran
sbt assets
, sass compiling seemed to start to run, but soon NoSuchMethodError was shown.I am assuming that I am missing something on the configuration. I would really appreciate it if you could help me to see if I made an oversight here.