Pretty straight forward. I\'ve been working in Eclipse Juno for a while now and my console always worked. When you output to the console with
System.
Go to run as and choose Run Configurations -> Common and in the Standard Input and Output configuration see if Allocate Console is selected.
Mark file option as ticked and browse to your current workspace. This will work for you
Solved it by cleaning the .metadata
How to System.out to console: Right click on your glassfish (Server Tab) and go to View Log File
Make sure the console setting is directed at your server.log file:
I also had no output in the console after some error. The answer from Narendra Pathai worked for me.
Deselect the Allocate Console
Run the application => I got output in my console directly
Select it again
After doing that, I got output.
First Go TO (Window->Show view->Console)
Then select "Show Console when started out changes" icon in the right end of the console window.
Go to run as and choose Run Configurations -> Common
and in the Standard Input and Output configuration see if Allocate Console
is selected.
Run Configurations:
Commons view: