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