zoukankan      html  css  js  c++  java
  • scala 遇到过的问题

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

    An error occurred while searching for implementations of method 'getFinishOrdCustByOrderCode'. See error log for details.
    org.eclipse.jdt.internal.core.hierarchy.HierarchyType.<init>(Lorg/eclipse/jdt/core/IType;[CI[C[[C)V
    解决办法:
    我的eclipse版本是
     
    version:Mars.2 release (4,5,2)
    新下载的scala版本是
    4.0.0 release for scala 2.11.6
    再次安装没有上面问题可以解决
     
     
     
    2:在写完scala代码的后,出现异常错误(缺少依赖的jar)
     
     
    missing or invalid dependency detected while loading class file
    'RDDOperationScope.class'. Could not access term annotation in value com.jackson, because
    it (or its dependencies) are missing. Check your build definition for missing or conflicting
    dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.)
    A full rebuild may help if 'RDDOperationScope.class' was compiled against an incompatible
    version of com.jackson.    scala_1    Unknown    Scala Problem
    missing or invalid dependency detected while loading class file 'RDDOperationScope.class'.
    Could not access term JsonInclude in value com.annotation, because it (or its
    are missing. Check your build definition for missing or conflicting dependencies.
    (Re-run with `-Ylog-classpath` to see the problematic classpath.) A full rebuild may help if
    'RDDOperationScope.class' was compiled against an incompatible version of com.annotation.
    scala_1    Unknown    Scala Problem
    missing or invalid dependency detected while loading class file
    'RDDOperationScope.class'. Could not access term jackson in value com.fasterxml,
    because it (or its dependencies) are missing. Check your build definition for missing or
    conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.)
    A full rebuild may help if 'RDDOperationScope.class' was compiled against an incompatible
    version of com.fasterxml.    scala_1    Unknown    Scala Problem
    missing or invalid dependency detected while loading class file 'RDDOperationScope.class'.
    Could not access term annotation in value com.jackson, because it
    (or its dependencies) are missing. Check your build definition for missing or conflicting dependencies.
    (Re-run with `-Ylog-classpath` to see the problematic classpath.)
    A full rebuild may help if 'RDDOperationScope.class'
    was compiled against an incompatible version of com.jackson.    scala_1
    Unknown    Scala Problem ////////////////////////////////缺少jackson包
    missing or invalid dependency detected while loading class file 'RDD.class'.
    Could not access term io in package org.apache.hadoop, because it (or its dependencies)
    are missing. Check your build definition for missing or conflicting dependencies.
    (Re-run with `-Ylog-classpath` to see the problematic classpath.) A full rebuild may help if
    'RDD.class' was compiled against an incompatible version of org.apache.hadoop.    scala_1
    Unknown    Scala Problem //////////////////////////////缺少hadoop
    
    
     
  • 相关阅读:
    [图形学] 结束 [Unity Shader] 开始
    [图形学] Chp18 OpenGL表面纹理函数
    [图形学] Chp17 OpenGL光照和表面绘制函数
    [图形学] Chp14 GLU曲面裁剪函数程序示例及样条表示遗留问题
    [图形学] Chp10 OpenGL三维观察程序示例
    [图形学] 问题: 裁剪窗口坐标对应显示窗口中像素是一对一还是一对多?
    [图形学] Chp9 三维几何变换--栈处理函数与矩阵管理函数的区别
    [图形学] 习题8.12 NLN二维线段裁剪算法实现
    [图形学] 习题8.6 线段旋转后使用Cohen-Sutherland算法裁剪
    [图形学] Chp8 使用双缓存创建帧动画
  • 原文地址:https://www.cnblogs.com/zhangXingSheng/p/6380755.html
Copyright © 2011-2022 走看看