We don't use xerces, perhaps it's picking up your default classpath?

Try unsetting your default classpath and try that again.

unset CLASSPATH

or (the following should also work I think)

CLASSPATH= bin/zkServer.sh start

Patrick

Ratner, Alan S (IS) wrote:
I have been unsuccessful at getting zookeeper to run on top of Cygwin.
The dialog has been:

$ bin/zkServer.sh start
JMX enabled by default
Using config: /cygdrive/c/zookeeper-3.2.1/bin/../conf/zoo.cfg
Starting zookeeper ...
STARTED

Exception in thread "main" java.lang.NoClassDefFoundError: {list of jar
files such as
/cygdrive/c/zookeeper-3/2/1/bin////src/java/lib/xerces-1/4/4/jar => all
dots were replaced with slashes}
Caused by: java.lang.ClassNotFoundException: {list of jar files such as
.cygdrive.c.zookeeper-3.2.1.bin....src.java.lib.xerces-1.4.4.jar => all
slashes were replaced with dots}
At java.net.URLClassLoader$1.run(Unknown Source)
...
At java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: {list of jar files such as
/cygdrive/c/zookeeper-3.2.1/bin/../src/java/lib/xerces-1.4.4.jar =>
correct location of files }
Program will exit.

Does anyone have any ideas on what else I can try?

Alan





Reply via email to