Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Logstah startup prompt can not find or can not load the main class how to solve

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces "logstah startup prompt can not be found or can not load the main class how to solve", in daily operation, I believe many people in logstah startup prompt can not be found or can not load the main class how to solve the problem there are doubts, Xiaobian consulted all kinds of information, sorted out simple and easy to use operation methods, hope to answer everyone "logstah startup prompt can not be found or can not load the main class how to solve" doubts help! Next, please follow the small series to learn together!

Installation seems to be no problem, download and extract to the directory on it. But at the start of the time reported an error, prompt can not be found or unable to load the main class.

After checking the reason, the solution is to add double quotes to %CLASSPATH%, such as: %JAVA% %JAVA_OPTS% -cp "%CLASSPATH%" org.logstash.Logstash %*, but I use version 7.2, logstash.bat itself with double quotes, so this problem can not be considered.

Later, through the search found logstash directory contains spaces will cause this problem, my local directory in Program Files, just hit, so finally changed the directory restart successfully.

Reference link: blog.csdn.net/awj3584/article/details/79715907

At this point, the study on "logstah startup prompt can not be found or can not load the main class how to solve" is over, I hope to solve everyone's doubts. Theory and practice can better match to help you learn, go and try it! If you want to continue learning more relevant knowledge, please continue to pay attention to the website, Xiaobian will continue to strive to bring more practical articles for everyone!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report