1:在我安装完scala的插件后,在打开方法的实现类(open implementactions)的时候,抛出这个异常,后来发现这个异常是因为我的scala的插件跟我eclipse版本不兼容导致的。

  1. An error occurred while searching for implementations of method 'getFinishOrdCustByOrderCode'. See error log for details.
  2. org.eclipse.jdt.internal.core.hierarchy.HierarchyType.<init>(Lorg/eclipse/jdt/core/IType;[CI[C[[C)V
解决办法:
我的eclipse版本是

  1. version:Mars.2 release (4,5,2)
新下载的scala版本是
  1. 4.0.0 release for scala 2.11.6

再次安装没有上面问题可以解决

 
 
 
2:在写完scala代码的后,出现异常错误(缺少依赖的jar)

 

  1. missing or invalid dependency detected while loading class file
  2. 'RDDOperationScope.class'. Could not access term annotation in value com.jackson, because
  3. it (or its dependencies) are missing. Check your build definition for missing or conflicting
  4. dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.)
  5. A full rebuild may help if 'RDDOperationScope.class' was compiled against an incompatible
  6. version of com.jackson. scala_1 Unknown Scala Problem
  1. missing or invalid dependency detected while loading class file 'RDDOperationScope.class'.
  2. Could not access term JsonInclude in value com.annotation, because it (or its
  3. are missing. Check your build definition for missing or conflicting dependencies.
  4. (Re-run with `-Ylog-classpath` to see the problematic classpath.) A full rebuild may help if
  5. 'RDDOperationScope.class' was compiled against an incompatible version of com.annotation.
  6. scala_1 Unknown Scala Problem
  1. missing or invalid dependency detected while loading class file
  2. 'RDDOperationScope.class'. Could not access term jackson in value com.fasterxml,
  3. because it (or its dependencies) are missing. Check your build definition for missing or
  4. conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.)
  5. A full rebuild may help if 'RDDOperationScope.class' was compiled against an incompatible
  6. version of com.fasterxml. scala_1 Unknown Scala Problem
  1. missing or invalid dependency detected while loading class file 'RDDOperationScope.class'.
  2. Could not access term annotation in value com.jackson, because it
  3. (or its dependencies) are missing. Check your build definition for missing or conflicting dependencies.
  4. (Re-run with `-Ylog-classpath` to see the problematic classpath.)
  5. A full rebuild may help if 'RDDOperationScope.class'
  6. was compiled against an incompatible version of com.jackson. scala_1
  7. Unknown Scala Problem ////////////////////////////////缺少jackson包
  1. missing or invalid dependency detected while loading class file 'RDD.class'.
  2. Could not access term io in package org.apache.hadoop, because it (or its dependencies)
  3. are missing. Check your build definition for missing or conflicting dependencies.
  4. (Re-run with `-Ylog-classpath` to see the problematic classpath.) A full rebuild may help if
  5. 'RDD.class' was compiled against an incompatible version of org.apache.hadoop. scala_1
  6. Unknown Scala Problem //////////////////////////////缺少hadoop
  1.  
 

scala 遇到过的问题的更多相关文章

  1. jdb调试scala代码的简单介绍

    在linux调试C/C++的代码需要通过gdb,调试java代码呢?那就需要用到jdb工具了.关于jdb的用法在网上大家都可以找到相应的文章,但是对scala进行调试的就比较少了.其实调试的大致流程都 ...

  2. scala练习题1 基础知识

    1, 在scala REPL中输入3. 然后按下tab键,有哪些方法可以被调用? 24个方法可以被调用, 8个基本类型: 基本的操作符, 等:     2,在scala REPL中,计算3的平方根,然 ...

  3. 牛顿法求平方根 scala

    你任说1个整数x,我任猜它的平方根为y,如果不对或精度不够准确,那我令y = (y+x/y)/2.如此循环反复下去,y就会无限逼近x的平方根.scala代码牛顿智商太高了println( sqr(10 ...

  4. Scala集合和Java集合对应转换关系

    作者:Syn良子 出处:http://www.cnblogs.com/cssdongl 转载请注明出处 用Scala编码的时候,经常会遇到scala集合和Java集合互相转换的case,特意mark一 ...

  5. Scala化规则引擎

    1. 引言 什么是规则引擎 一个业务规则包含一组条件和在此条件下执行的操作,它们表示业务规则应用程序的一段业务逻辑.业务规则通常应该由业务分析人员和策略管理者开发和修改,但有些复杂的业务规则也可以由技 ...

  6. Scala快速概览

    IDEA工具安装及scala基本操作 目录 一. 1. 2. 3. 4. 二. 1. 2. 3. 三. 1. 2. 3. 4. 5. 6. 7. 四. 1. (1) (2) (3) (4) (5) ( ...

  7. Scala Macros - scalamela 1.x,inline-meta annotations

    在上期讨论中我们介绍了Scala Macros,它可以说是工具库编程人员不可或缺的编程手段,可以实现编译器在编译源代码时对源代码进行的修改.扩展和替换,如此可以对用户屏蔽工具库复杂的内部细节,使他们可 ...

  8. Scala Macros - 元编程 Metaprogramming with Def Macros

    Scala Macros对scala函数库编程人员来说是一项不可或缺的编程工具,可以通过它来解决一些用普通编程或者类层次编程(type level programming)都无法解决的问题,这是因为S ...

  9. Scala Reflection - Mirrors,ClassTag,TypeTag and WeakTypeTag

    反射reflection是程序对自身的检查.验证甚至代码修改功能.反射可以通过它的Reify功能来实时自动构建生成静态的Scala实例如:类(class).方法(method).表达式(express ...

  10. Scala For Java的一些参考

          变量 String yourPast = "Good Java Programmer"; val yourPast : String = "Good Java ...

随机推荐

  1. 中矿新生赛 H 璐神看岛屿【BFS/DFS求联通块/连通块区域在边界则此连通块无效】

    时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 32768K,其他语言65536K64bit IO Format: %lld 题目描述 璐神现在有张n*m大小的地图,地图上标明了陆地(用 ...

  2. 新疆大学ACM-ICPC程序设计竞赛五月月赛(同步赛)- XOR(二进制使用)

    链接:https://www.nowcoder.com/acm/contest/116/H来源:牛客网 题目描述 Once there was a king called XOR, he had a ...

  3. view hex value in MR

    cat filename | hexdump  –C tail  -行数 filename | hexdump  –C head -行数 filename | hexdump -C

  4. PHP添加mcrypt扩展模块

    PHP添加mcrypt扩展模块 系统环境:CentOS6.3 APACHE:httpd-2.4.2 PHP:php-5.3.21 一.安装mcrypt 1.下载Libmcrypt,mhash,mcry ...

  5. Orchard 事件通知小坑

    public void GetTagLogRecord(int tagId, string keyword, string area) { var tag = _repositoryTagRecord ...

  6. UBIFS

    转:http://www.armadeus.com/wiki/index.php?title=UBIFS This is a preliminary page dealing with the ins ...

  7. Facebook KeyHash生成方法

    1. 去https://code.google.com/p/openssl-for-windows/downloads/list下载OpenSSL工具 2.  在C盘根目录下新建一个openssl的文 ...

  8. 【mybatis】in查询+判断list查询条件是否进行in查询

    mybatis中的in查询: 并且判断in查询的list是否为null或者list有值才进行In查询 <select id="find" parameterType=&quo ...

  9. Linux内核实践之工作队列

    工作队列(work queue)是另外一种将工作推后执行的形式,它和tasklet有所不同.工作队列可以把工作推后,交由一个内核线程去执行,也就是说,这个下半部分可以在进程上下文中执行.这样,通过工作 ...

  10. Hive设置参数的三种方法

    Hive提供三种可以改变环境变量的方法,分别是:(1).修改${HIVE_HOME}/conf/hive-site.xml配置文件:(2).命令行参数:(3).在已经进入cli时进行参数声明.下面分别 ...