2

I am trying to sbt assembly my code (script.scala) on my Windows 7 machine using cmd, and I am getting the above posted error.

I have also tried to set this on cmd JAVA_TOOL_OPTIONS='-Dfile.encoding=UTF8' but it still does not help.

I am editing the file using Notepad++ and once the jar is built running it on my Hadoop cluster.

halfer
  • 19,824
  • 17
  • 99
  • 186
akash sharma
  • 411
  • 2
  • 24
  • https://stackoverflow.com/questions/1930230/scala-error-io-error-while-decoding-with-utf-8 ? – Julian Pieles Aug 10 '17 at 14:51
  • Possible duplicate of [scala "error: io error while decoding" "with utf-8"](https://stackoverflow.com/questions/1930230/scala-error-io-error-while-decoding-with-utf-8) – Julian Pieles Aug 10 '17 at 14:53

0 Answers0