scala在cmd模式下执行文件报<console>:1: error: ';' expected but '.' found. scalac C:\hello.scala 错误
2014-06-26 19:28
681 查看
scala在cmd模式下执行文件报<console>:1: error: ';' expected but '.' found. scalac C:\hello.scala 错误:
具体见图:
按照如下方式即可运行:
首先我的scala安装在:D:\Program Files\scala
具体操作见截图:
或者使用 :load 命令:
具体解释参考:http://stackoverflow.com/questions/22424539/how-can-i-get-scala-to-work-in-the-command-line
具体见图:
按照如下方式即可运行:
首先我的scala安装在:D:\Program Files\scala
具体操作见截图:
或者使用 :load 命令:
具体解释参考:http://stackoverflow.com/questions/22424539/how-can-i-get-scala-to-work-in-the-command-line
相关文章推荐
- <b>Fatal error</b>: Class 'SoapClient' not found in <b>
- 出现TypeError: Object #<Object> has no method 'createClient' 错误
- 关于错误IOError:<urlopen error (-3, 'Temporary failure in name resolution')>的解决
- 解决 无法将文件“XX”复制到文件“XX”。' <错误>
- elasticsearch修改配置文件后启动提示nested: ParserException[expected '<document start>', but found BlockMappingS
- mac /include/c++/v1/iterator:341:10: fatal error: '__debug' file not found #include <__debug>
- <错误处理> Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessExc
- 更新证书错误Code Sign error: Provisioning profile ‘XXXX'can't be found
- gcc 编译错误 error:expected class-name before ';' token
- WebDeploy Error - The response header 'MSDeploy.Response' was '' but 'v1' was expected.
- Qt中的错误说没有<QtNetwork>这个文件
- 【zz】安装Android的Eclipse插件ADT遇到错误“requires 'org.eclipse.gef 0.0.0' but it could not be found”
- 安装ADT 错误“requires 'org.eclipse.gef 0.0.0' but it could not be found” 以及配置 步骤
- JNI中用 javah.exe 产生头JNI-Style文件出现错误:无法访问 <class> 未找到 <class> 的类文件
- Uncaught TypeError: Object #<Object> has no method 'addEvents' ext-all-debug异常
- php 文件上传 错误信息 总结 $_FILES['Filedata']["error"] 值枚举
- 安装Android的Eclipse插件ADT遇到错误“requires 'org.eclipse.gef 0.0.0' but it could not be found”
- 安装Android的Eclipse插件ADT遇到错误“requires 'org.eclipse.gef 0.0.0' but it could not be found”
- 关于Project : error PRJ0003 : Error spawning 'cmd.exe'错误
- SVN创建完成后,报 Error No repository found 'svn://localhost'等的错误原因