[ https://issues.apache.org/jira/browse/BOOKKEEPER-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13765723#comment-13765723 ]
Sijie Guo commented on BOOKKEEPER-682: -------------------------------------- [~baichishow] if you download the binary package bookkeeper-server-4.2.1-bin.tar.gz, you could run bin/bookkeeper directly. but if you just download the source package bookkeeper-4.2.1-src.tar.gz, run "mvn clean package" before running bin/bookkeeper. > Could not find the main class: org.apache.bookkeeper.proto.BookieServer, > ------------------------------------------------------------------------ > > Key: BOOKKEEPER-682 > URL: https://issues.apache.org/jira/browse/BOOKKEEPER-682 > Project: Bookkeeper > Issue Type: Question > Reporter: SN_cn > > I want to build the namenode HA with using the bookkeeper,but when I run > /bookkeeper bookie command , it don't work: > JMX enabled by default > cat: > /home/chenlin/bookkeeper-4.2.1/bookkeeper-server/target/cached_classpath.txt: > No such file or directory > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/bookkeeper/proto/BookieServer > Caused by: java.lang.ClassNotFoundException: > org.apache.bookkeeper.proto.BookieServer > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > Could not find the main class: org.apache.bookkeeper.proto.BookieServer. > Program will exit. > thanks advance. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira