strange error message: bad symbolic reference. A signature in package.class refers to term apache in package org which is not available

后端 未结 4 1556
青春惊慌失措
青春惊慌失措 2020-12-18 21:08

When I tried to compile simple typesafe\' akka program (scala 2.10, akka, 2.1.0):

 scalac -cp \"akka-actor_2.10-2.1.0.jar:akka-camel_2.10-2.1.0.jar\" write2.         


        
4条回答
  •  一生所求
    2020-12-18 21:38

    First time Scala user. I had some problems in configuring my eclipse and I used to get:

    Error:scalac: bad symbolic reference. A signature in package.class refers to type compileTimeOnly
    in package scala.annotation which is not available.
    It may be completely missing from the current classpath, or the version on
    the classpath might be incompatible with the version used when compiling package.class.
    

    Finally found that scala test version 2.11 and compiler version should match. Downloaded scala version 2.11-RC1

提交回复
热议问题