Error: The main class files\apache-activemq-5.10.0\bin\ could not be found or could not be loaded. \conf\login.config

Source: Internet
Author: User

An error occurred while starting ACTIVEMQ: "Error: The main class files\apache-activemq-5.10.0\bin\ could not be found or could not be loaded. \conf\login.config ", before using ACTIVEMQ time did not encounter this problem, this toss met. Every time the problem, is a harvest and growth opportunities, even a little bit, it doesn't matter, don't accumulate kuibu not even thousands of miles!

Find Login.config, clearly path E:\Program files\apache-activemq-5.10.0\conf\login.config file exists.

Then carefully read the error hints, compare the path suddenly found! Why are you prompting me to files\apache-activemq-5.10.0\bin\? \conf\login.config, not program files\apache-activemq-5.10.0\bin\. \conf\login.config, the original program and files in the middle there are spaces, the path is truncated.

It is only then remembered, because when executing the command line input parameters, if the string parameters include a space must be enclosed in double quotation marks. This is also the case with scripts.

There are two ways to solve this:

One that removes spaces directly from the folder name with spaces in the directory, or changes the path, excluding spaces in the path.

Alternatively, change the start script to enclose the path referenced in the script in double quotation marks.

Error: The main class files\apache-activemq-5.10.0\bin\ could not be found or could not be loaded. \conf\login.config

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.