Can't get Scala to recognize commons-logging-1.1.2.jar -
Can't get Scala to recognize commons-logging-1.1.2.jar -
i running programme requires utilize of commons-logging-1.1.2.jar. when seek compile using:
scalac -classpath ~/jars/hadoop-core-1.2.1.jar:~/jars/commons-logging-1.1.2.jar:. hdfs_test.scala
i error says:
warning: class org.apache.commons.logging.log not found - continuing stub.
i know class in jar still doesn't find it. thought doing wrong?
bash expands tildes in arguments when @ start of word. confusingly, bash does expand tildes after colons in variables, classpath=~/jars/hadoop-core-1.2.1.jar:~/jars/commons-logging-1.1.2.jar scalac ...
should work, if want utilize command line argument you'll have expand hand.
(my source here http://tldp.org/ldp/bash-beginners-guide/html/sect_03_04.html )
scala jar
Comments
Post a Comment