Jack BeNimble
Jack BeNimble

Reputation: 36713

Unable to start ActiveMQ Classic server - Could not load class: org.apache.activemq.console.command.ShellCommand

I just downloaded and unzipped the latest version of ActiveMQ Classic (apache-activemq-5.17.2) from this link into a folder named:

C:\executables\apache-activemq

However, when I run the following command:

C:\executables\apache-activemq>bin\activemq start

It fails on the following message:

Could not load class: org.apache.activemq.console.command.ShellCommand

How can I get this up and running?

Here's the full output:

Java Runtime: Azul Systems, Inc. 11.0.14.1 C:\Program Files\Zulu\zulu-11
  Heap sizes: current=1048576k  free=1040894k  max=1048576k
    JVM args: -Dcom.sun.management.jmxremote -Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=C:\executables\apache-activemq\\conf\login.config -Dactivemq.classpath=C:\executables\apache-activemq\\conf;C:\executables\apache-activemq\/conf;C:\executables\apache-activemq\/conf; -Dactivemq.home=C:\executables\apache-activemq" -Dactivemq.base=C:\executables\apache-activemq" -Dactivemq.conf=C:\executables\apache-activemq\\conf -Dactivemq.data=C:\executables\apache-activemq\\data -Djava.io.tmpdir=C:\executables\apache-activemq\\data\tmp
Extensions classpath:
  [C:\executables\apache-activemq" -Dactivemq.base=C:\executables\apache-activemq"\lib,C:\executables\apache-activemq" -Dactivemq.base=C:\executables\apache-activemq"\lib\camel,C:\executables\apache-activemq" -Dactivemq.base=C:\executables\apache-activemq"\lib\optional,C:\executables\apache-activemq" -Dactivemq.base=C:\executables\apache-activemq"\lib\web,C:\executables\apache-activemq" -Dactivemq.base=C:\executables\apache-activemq"\lib\extra]
ACTIVEMQ_HOME: C:\executables\apache-activemq" -Dactivemq.base=C:\executables\apache-activemq"
ACTIVEMQ_BASE: C:\executables\apache-activemq" -Dactivemq.base=C:\executables\apache-activemq"
ACTIVEMQ_CONF: C:\executables\apache-activemq\conf
ACTIVEMQ_DATA: C:\executables\apache-activemq\data
Could not load class: org.apache.activemq.console.command.ShellCommand
Class loader setup:
jdk.internal.loader.ClassLoaders$PlatformClassLoader
  jdk.internal.loader.ClassLoaders$AppClassLoader
    java.net.URLClassLoader {
      file:/C:/executables/apache-activemq/conf/
    }

Upvotes: 0

Views: 658

Answers (0)

Related Questions