Error Io Error While Decoding Scala
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about io error while decoding main.scala with utf-8 hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask io error while decoding with utf 8 play Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.
Play Framework Io Error While Decoding
Join them; it only takes a minute: Sign up scala “error: io error while decoding” “with utf-8” up vote 16 down vote favorite 3 this thing keeps coming up I checked that all my source files are utf8 encoded,
Please Try Specifying Another One Using The -encoding Option
and Im using '-encoding UTF8' flag with both scalac and scala command line tools any ideas? thank you scala share|improve this question edited Dec 18 '09 at 19:45 asked Dec 18 '09 at 19:28 deepblue 3,13363147 same problem was had here mail-archive.com/liftweb@googlegroups.com/msg09623.html the recommendation to fix it was the stuff that I tried without effect –deepblue Dec 18 '09 at 19:58 Windows or some other OS? That's extremely relevant in this case. Also, paste scalac classpath of the error and a small sample file would be very helpful. –Daniel C. Sobral Dec 18 '09 at 20:27 In fact... is that error compiling or running? –Daniel C. Sobral Dec 18 '09 at 20:30 thanks Daniel. the error is running, Im running on Ubuntu but editing from Windows using jEdit (but via sftp plugin so I think its editing it in place on the ubuntu machine). it compiles fine. \n the error is: \n "error: IO error while decoding /home/.../filename.class with UTF-8 \n Please try specifying another one using the -encoding option" –deepblue Dec 18 '09 at 20:35 Without an example, that's going to be tough to track down. It is being compiled on Ubuntu, I assume? And I assume you are not copying the .class file around, are you? Too much missing information still. :-( At this point, I advise going to scala-users mailing list, and providing much more details about what you are doing. –Daniel C. Sobral Dec 18 '09 at 20:52 | show 2 more comments 4 Answers 4 active oldest votes up vote 7 down vote Just to document this, the problem is that the program was being run like this: scala filename.class Instead, it should be run like this: scala package.hierarchy.Object Where Object is the name of an main-containing object that you wish to run. share|improve this answer answered
scala-tools scala-internals scala-xml scala-sips IRC Channel Blogs & News Sygneca Wiki Scala Jira Language ResearchGrants Papers Talks Theses Courses Presentations In the PressArticles Interviews and Panel Talks News Archive The Scala Team Scala's Prehistory Contact Us DocumentationLearning Scala Tour of Scala ManualsA Brief Scala Tutorial Scala by Example Scala Overview Scala Language Specification Scala Improvement Process Translations Scaladoc 2 Manual Books Scala APIscaladoc (stable) scaladoc (nightly) compiler API (nightly) Download locally Setup & Getting StartedGetting Started with Scala Java to Scala Windows Mini-Guide Setting PATH on Windows fsc and the OSX firewall Programming GuidesScala Actors Scala on Android Scala on Microsoft http://stackoverflow.com/questions/1930230/scala-error-io-error-while-decoding-with-utf-8 .NET Scala on Google App Engine Other GuidesMaven for Beginners Scala and JUnit on Eclipse Scala, Emacs and Yasnippet FAQs Code ExamplesHello world! Simple Snippets Advanced Examples SoftwareDownload ScalaLatest Stable Release Previous Releases Nightly Builds Git Repository Distribution Content IDE and Editor pluginsIDE Plugins Tool Support Libraries and ToolsLibraries Development Tools Program Testing Other Scala-Related Scala License Scala DevelopersDeveloper's GuidesBuild Scala from the Source Writing Compiler Plugins http://www.scala-lang.org/old/node/4594.html Scala Ant Tasks Compiler Internals Improvement Documents Bug Tracking & TestingScala Bugtracker Scala Jenkins Code Review Codebase ProgressLanguage Changes Download Stats Maintainers Contributor Agreement Home » Forums » Scala User scala “error: io error while decoding” “with utf-8” 6 replies Fri, 2009-12-18, 22:15 deepblue_other Joined: 2009-12-18, hello everyone Im having a problem running a compiled .class file with scala this thing keeps coming up I checked that all my source files are utf8 encoded, and Im using '-encoding UTF8' flag with both scalac and scala command line tools any ideas? ps Im compiling and running on Ubuntu, Scala 2.7.7 Im editing in using jEdit from a windows machine, and I checked to make sure all my .scala files are UTF8 encoded. scalac compiles all the files fine, with a "-encoding UTF8" flag thank you Top Login or register to post comments Fri, 2009-12-18, 23:07 #1 bmaso Joined: 2009-10-04, Re: scala “error: io error while deco ding” “with utf-8” What keeps "coming up"? You left essential implicit evidence out.Best regards,Brian Maso(949) 395-8551brian [at] blumenfeld-maso [dot] comtwitter: @bmaso skype: brian.masoLinkedIn: http://www.linkedin.com/in/brianmasoOn Fri, Dec 18, 2009 at 1:15 PM, deepblue_other
Sign in Pricing Blog Support Search GitHub This repository Watch 158 Star https://github.com/MojoJolo/textteaser/issues/4 1,834 Fork 234 MojoJolo/textteaser Code Issues 3 Pull requests https://groups.google.com/d/topic/play-framework/lf2_aIZOLE0 0 Projects 0 Pulse Graphs New issue IO error while decoding /Scala/textteaser/src/main/scala/com/textteaser/summarizer/Main.scala with UTF-8 #4 Closed Jonovono opened this Issue Oct 12, 2013 · 3 comments Projects None yet Labels None yet Milestone No milestone io error Assignees No one assigned 4 participants Jonovono commented Oct 12, 2013 So I am following the steps. Clone the repo. Cd into it. Run sbt compile and then get these error messages. I am new to scala, not sure how to resolve. Any thoughts? $ sbt --version sbt io error while launcher version 0.13.0 [error] IO error while decoding /Scala/textteaser/src/main/scala/com/textteaser/summarizer/Main.scala with UTF-8 [error] Please try specifying another one using the -encoding option [error] one error found error Compilation failed [error] Total time: 5 s, completed 12-Oct-2013 14:57:11 melpomene commented Oct 12, 2013 Duplicate of issue #3 Jonovono commented Oct 12, 2013 Ah great, my bad for missing that. tkroman commented Oct 12, 2013 Fixed this in #6 MojoJolo closed this Oct 14, 2013 Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen