简体   繁体   中英

STS(Spring Tool SUite) Output console view disappears/closes automatically

I am using STS(Spring Tool Suite) 3.6.4 version. For the last few days I am facing new kind of issue. Whenever I try to open console(Using Window > Show View > Console) console view opens for fraction of seconds and closes/disappears automatically. Same thing happens when error/info printed to console. It is visible for the fraction of seconds and closes automatically.

I am trying to see Tc server console. Currently for me there is no way to see the console view. Can any one have idea why it happens/ any solution.

It worked with new workspace. May be the old workspace was corrupted.

您可以重置透视图以获取控制台。

在此处输入图片说明

Click mouse right button on the workspace, and click Reset

For me, any console that appeared when running a Java application would immediately disappear. Same git-repo/workspace, different computers. What fixed that for me was quitting Eclipse, deleting the .metadata and .settings folders, relaunching, and re-importing my projects. Only the workspace and my custom dictionaries survived.

Some times because of unexpected short cuts Eclipse or/STS or due to some other issue

Allocate Console gets disabled. So we need to enable it

Run => Run Configurations > common Tab

Debug => Debug Configurations > common Tab

enter image description here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM