我正在运行一个需要使用commons-logging-1.1.2.jar的程序。当我尝试编译它使用:无法让Scala识别commons-logging-1.1.2.jar
scalac -classpath ~/jars/hadoop-core-1.2.1.jar:~/jars/commons-logging-1.1.2.jar:. HDFS_Test.scala
我得到一个错误,指出:
warning: Class org.apache.commons.logging.Log not found - continuing with a stub.
我知道类是在罐子里,但它仍然没有找到它。任何想法我可能做错了什么?
您正在使用哪种外壳? – 2014-10-17 17:17:12