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

后端 未结 4 1571
青春惊慌失措
青春惊慌失措 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:20

    The message says "There's no package org.apache in my classpath, and I need it while reading file package.class". Pass -Ylog-classpath to scalac and look at what is the real classpath that gets to the compiler.

提交回复
热议问题