You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Manikumar (JIRA)" <ji...@apache.org> on 2017/09/08 16:15:00 UTC
[jira] [Resolved] (KAFKA-1608) Windows: Error: Could not find or
load main class org.apache.zookeeper.server.quorum.QuorumPeerMain
[ https://issues.apache.org/jira/browse/KAFKA-1608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manikumar resolved KAFKA-1608.
------------------------------
Resolution: Fixed
This was fixed in newer versions. Pl reopen if you think the issue still exists
> Windows: Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain
> ---------------------------------------------------------------------------------------------------
>
> Key: KAFKA-1608
> URL: https://issues.apache.org/jira/browse/KAFKA-1608
> Project: Kafka
> Issue Type: Bug
> Components: core
> Affects Versions: 0.8.1.1
> Environment: Windows
> Reporter: Rakesh Komulwad
> Priority: Minor
> Labels: windows
>
> When trying to start zookeeper getting the following error in Windows
> Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain
> Fix for this is to edit windows\kafka-run-class.bat
> Change
> set BASE_DIR=%CD%\..
> to
> set BASE_DIR=%CD%\..\..
> Change
> for %%i in (%BASE_DIR%\core\lib\*.jar)
> to
> for %%i in (%BASE_DIR%\libs\*.jar)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)