How to recover closed output window in netbeans?
Asked Answered
M

18

41

It often happens to me that I want to clear the current output window by using the context menu, but instead of hitting the Clear entry, I accidently hit the Close entry (which is directly below Clear).

How can I get that output window back!?

Via Window/Output/Output I only get the container tab for all output windows. How can I reopen the output window of a currently running application?

Mistrustful answered 5/4, 2013 at 13:59 Comment(0)
J
38

In the right bottom edge there are information about NetBeans updates. Left to it, there's the tasks running (building, running application etc). Click on it, right click the process you want and select Show Output.

Jardena answered 5/4, 2013 at 16:27 Comment(5)
Hi, Yes, I found what you mean. But unfortunately it is always deactivated (greyed out). No matter whether the output window is still visible or already closed. Do I miss something? I tried it with Netbeans 7.3.Mistrustful
Well, I tried in NetBeans 7.3 and 7.0. Both work for me. Could not reproduce your problem here. Sorry.Jardena
I played around a bit and it seems that it does not work with maven projects. With an ant project it works well.Mistrustful
It could be. Only tested with Ant.Jardena
IMHO, this is a bug, as it should work under maven. I have opened a bug report netbeans.org/bugzilla/show_bug.cgi?id=233924 will be interesting to see if they can fix. You might want to vote for it if you agree this is an issueGaudreau
N
47

Here is solution

  1. First go to service window which is next tab to project tab...
  2. then right click on apache tomcat
  3. click view server log and view server output
Ng answered 23/6, 2014 at 19:17 Comment(1)
It is desabled! the solution is https://mcmap.net/q/385284/-how-to-recover-closed-output-window-in-netbeansInductor
J
38

In the right bottom edge there are information about NetBeans updates. Left to it, there's the tasks running (building, running application etc). Click on it, right click the process you want and select Show Output.

Jardena answered 5/4, 2013 at 16:27 Comment(5)
Hi, Yes, I found what you mean. But unfortunately it is always deactivated (greyed out). No matter whether the output window is still visible or already closed. Do I miss something? I tried it with Netbeans 7.3.Mistrustful
Well, I tried in NetBeans 7.3 and 7.0. Both work for me. Could not reproduce your problem here. Sorry.Jardena
I played around a bit and it seems that it does not work with maven projects. With an ant project it works well.Mistrustful
It could be. Only tested with Ant.Jardena
IMHO, this is a bug, as it should work under maven. I have opened a bug report netbeans.org/bugzilla/show_bug.cgi?id=233924 will be interesting to see if they can fix. You might want to vote for it if you agree this is an issueGaudreau
C
34

try Window--> Reset Windows in netbean Caution: be aware, that all your windows settings are away after that!

Citrus answered 3/3, 2014 at 3:21 Comment(2)
I had the same problem and only the reset windows method worked for me, neither the ctrl+4 nor any other method reseted the output window.Vendor
Worked for me. None of other options were working for me.Pulsar
B
32

I had this same issue recently and none of the other fixes worked. I got it to show finally by switching to the "Services" tab, right-clicking on "Apache Tomcat or TomEE" and clicking "Restart".

Bijugate answered 7/1, 2015 at 13:39 Comment(2)
This should be the accepted answer, as sometimes the "view server output" context menu entry is grayed out for no reason.Skepticism
FINALLY!! Thank you! Still a bug in Netbeans 8.2. But it has been so long since it happened that I'd forgotten what to do!!Gregarious
P
20

Go to the window tab: Then click on Output. This will allow you to place it anywhere on the screen. Or just use ctrl+4

Pincenez answered 27/10, 2014 at 1:18 Comment(0)
L
11

Go to Server tab and Right Click you will see the View Output Log.

Netbeans --> Your Server --> RightClick --> View Output

enter image description here

Loathing answered 17/12, 2015 at 5:49 Comment(0)
A
8

In NetBeans 7.4, Under Window menu, click on "Reset Window". Then NetBeans will disappear and reappear. At last, after it reappears, click on "Output" under Window menu.

Albumenize answered 29/8, 2014 at 7:31 Comment(0)
L
7

Go to window tab - reset windows - run your program. - then right click on bottom of the tab where program running

Luane answered 28/3, 2017 at 15:17 Comment(1)
Thank you! Nothing else seemed to bring the Output panel back; I can only guess that it was accidentally hidden in a weird way such that Window -> Output and the like were "showing" it but I still could not see it. After "reset windows" it came back.Stomodaeum
C
3

Right click on Apache Tomcat under Services window. Stop the server, then start it again...both log and output window will reappear

Crucial answered 3/4, 2016 at 21:17 Comment(0)
B
3

Just go through "View" and select IDE Log. it will show the output.

Barathea answered 14/3, 2017 at 13:7 Comment(0)
J
2

If you run the server in normal mode you can recover the log by restarting the main project in debug mode. It seems that NB opens a new server log when the server run mode changes.

Jig answered 11/2, 2014 at 7:41 Comment(0)
K
1

If you want to see three windows along with Log Then go to windows on NetBeans then output and click NetBeans->windows->output. Next go to service next to you project select server right click on it select server log and server output NetBeans->service(next to you project)->server->View server log and view service output.

Karolkarola answered 12/8, 2015 at 10:45 Comment(0)
A
1

I was having the same problem. Currently I am using the version 8.1, First of all go to the window tab, that is just before the tab help. Click on window and there click reset "Reset Window", after that in the bottom right click on the tab where your project runs, right click and select show output.

Axel answered 26/3, 2016 at 9:23 Comment(0)
C
1

shorter way: 1-Alt + Shift + R 2-Ctrl + 4 second way:(in menus of netBeans) 1-go to window tab 2-go to IDE tools 3-click on Test Result 4-again in window tab click on Output

Carolynncarolynne answered 18/4, 2016 at 7:20 Comment(0)
E
1

I found output option in window Menu.
enter image description here

Eyelash answered 6/7, 2020 at 11:9 Comment(0)
W
0

in Netbeans 7.4 try Window -> Output OR Ctrl + 4

Wide answered 4/3, 2014 at 8:33 Comment(0)
Z
0

Easy way, just write some wrong code and Run > Build it will show the error in output window.

I tried all of the above but no success, just this one worked.

Zulemazullo answered 30/1, 2017 at 12:12 Comment(0)
H
0

Servers---AT---right click---start in debugging mode

Horta answered 16/4, 2021 at 7:46 Comment(1)
Don't just post answer only to get up vote. Its a serious platform and you can't get likes here, it's not facebook. You are answering this question after 8 years, but your answer is just a one liner. Please read carefully before posting answer stackoverflow.com/help/how-to-answerChlorosis

© 2022 - 2024 — McMap. All rights reserved.