An Operation Fails and "log4j:WARN No appenders could be found for logger(basicAuth.Main)" Is Displayed in Logs
Question
An application execution fails. Figure 1-6 shows the log information.
Answer
Check whether the compiled log4j.properties file exists in the bin directory of the project. If it does not, add the compilation path.
- In IntelliJ IDEA, choose File > Project Structure > Modules, and then add the conf folder that contains log4j.properties and UserInfo.properties as Source Folders.
- Compile the file again.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.