idea cannot stop after starting main method and outputting hello word
已回答

Why does slf4j log output after starting main method
请先登录再写评论。
Hi there,
The error message says that there is a dependency on an
slf4jclass somewhere in the project that is not being provided at runtime.How was the project created? Through the IDE wizard or manually?
Is Maven or Gradle used as a build system?
With Maven, for instance, you could try adding the following dependencies to pom.xml and reloading the project from the Maven tool window:
This project is not maven nor gradle, but a different java project, casually built a main method, this should be the problem of the idea version, in the latest version will be like this, the old version is no problem
Solutions to try:
If it doesn't help, please provide a test project where this can be reproduced for you. You can share it on Github or upload to our server at https://uploads.jetbrains.com (make sure to share the ID of the upload here so that I can find it).