System.out.println, where is it written to Intellij Idea?

I cannot find the terminal on which the message should be displayed. How does is called? I assume it should be in View-> Tool Windows, but none of this works. This is a Maven project, and all I see is GlassFish magazine.

+2
source share
3 answers

System.out and System.err output is written to the Run or Debug tool window, depending on whether you run the start / debug configuration as " Run or Debug ". For more details see https://www.jetbrains.com/idea/help/running-and-debugging.html and https://www.jetbrains.com/idea/help/run-tool-window.html (Same information see the IntelliJ IDEA Ultimate version reference manual).

+5
source

In Java EE applications with a Tomcat container, if you want to see the result of fingerprints like System.out.println() , first go to the Run menu> Edit Configurations and select your tomcat server in the menu on the left, then open the Logs tab and check the box next to 'Show console when message is printed to standard output'

+2
source

Click on the image below to understand.

For operating mode:

View → Toolbar → Run

In debug mode:

View -> Windows Tool -> Debugging

To complete this action, you must be in one of the two above states.

How to show terminal window in IntelliJ

0
source

Source: https://habr.com/ru/post/945035/


All Articles