Can't get Scala to recognize commons-logging-1.1.2.jar -
I am running a program for which commons-logging-1.1.2.jar needs to be used. When I try to compile it using:
scalac-classpath ~ / jars / hasoop-core-1.2.1.jar: ~ / jars / commons-logging-1.1. 2.jar:. HDFS_Test.scala
I get an error that says:
Warning: class org.apache.commons.logging. The login was not found - Released with a stub.
I know that the classroom is in jar, but it still is not able to find it. What can I do wrong with any idea?
One word misleading, CLASSPATH = ~ / jars / hasoop-core-1.2.1.jar: does expansion of the tilde -logging-1.1.2.jar scalac after the colon of ~ / jars / commons ...
should work, but if you want to use command line logic then you have to extend it by hand.
(My source is here)
Comments
Post a Comment