Why I get "no matches found: lib/*:config/overlord"?

Follow the doc and get below error. How to fix it?

**➜ ** druid-0.8.1-SNAPSHOT git:(master) java -Xmx2g -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath lib/*:config/overlord io.druid.cli.Main server overlord

zsh: no matches found: lib/*:config/overlord

Hi Xinyu, any reason why you aren’t using the stable for your testing? In this particular problem, did you compile Druid and unpackage the tarball? What does your current directory look like where you are running the command?

I git pull the latest code, then mvn clean deploy and mvn package, then unpackage the tarball.
The folder is

In this foler, ls -l looks like below

**➜ ** druid-0.8.1-SNAPSHOT git:(master) ls -l

total 48

-rw-r–r-- 1 Yu staff 11358 Jul 17 22:37 LICENSE

drwxr-xr-x 8 Yu staff 272 Jul 22 20:24 config

drwxr-xr-x 6 Yu staff 204 Jul 22 20:30 examples

drwxr-xr-x 131 Yu staff 4454 Jul 22 20:24 lib

-rwxr–r-- 1 Yu staff 734 Jul 17 22:37 run_example_client.sh

-rwxr–r-- 1 Yu staff 1536 Jul 17 22:37 run_example_server.sh

-rwxr–r-- 1 Yu staff 1098 Jul 17 22:37 select_example.sh

Then I run
java -Xmx2g -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath lib/*:config/overlord io.druid.cli.Main server overlord.

Is there any error in my steps? Thanks. BTW, I’ll use a stable tarball and have a try.

在 2015年7月23日星期四 UTC+8下午12:20:44,Fangjin Yang写道:

What operating system are you using?

I’m using mac osx 10.10.3.

在 2015年7月23日星期四 UTC+8下午12:33:33,Fangjin Yang写道:

Hi Xinyu,

Can you try to put that part in single quotes?

that is
java -Xmx2g -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath ‘lib/*:config/overlord’ io.druid.cli.Main server overlord

I suspect that zsh is looking at that ‘*’ and trying to match it against directory contents.

– Himanshu

yes, it works. Thanks.