Runs don't show in "Run tool window" anymore but in "Message tool window"

Answered

Since today, for one particular project, the maven goals don't show in "Run tool window" anymore but in "Message tool window".
Even when running, the "Run" under "View->Tool Windows" menu stay greyed.
I've already tried to close and re-open intellij, turn off and on my computer, nothing changed.
This only happens with that project.
I don't have this problem with other projects open at the same time in other windows.

The big problem is that a ran a jetty:run goal that doesn't show in "Run tool window", then I stop it with the button in the tool bar near the "Configuration" dropbox but I'm unable to run jetty:run again because of "Address already in use" problem.
When I restart my computer, the first jetty:run runs without problems, obviously.

Why do the maven goals runs, runs in general, don't show in "Run tool window" anymore ?
How to make IntelliJ do it that way again ?
How to stop a jetty instance started via jetty:run without access to "Run tool window" ?

0
6 comments

Did you try to run it from the Maven Projects?

0
Avatar
Permanently deleted user

Yes, same problem, all run in "Message tool window"

0

What exactly runs in the Messages tool window? Maybe you've enabled some task to run before Maven goal, like compilation or rebuild?

Check the Before Launch and other options for the Maven run/debug configuration:

0
Avatar
Permanently deleted user

It is the outputs (of the execution of a maven goal for example) that are shown in Messages tool window.

I configured jetty:run configuration to launch a maven clean install before running. It was always like this and I didn't change anything in configurations for a while.

This morning everything was ok, the problem appears suddenly.

 

0
Avatar
Permanently deleted user

I also tried with "Activate tool window" check-box either checked or unchecked, nothing changed

0

Try to remove .idea directory and reimport the project from pom.xml, then create a new run/debug configuration for Maven.

2

Please sign in to leave a comment.