7

I've just started to use Boot Dashboard to manage all my Spring Boot application (Boot Dashboard).

The problem is that I can't see the starting port of my applications:

My Boot Dashboard

The applications start without any problem:

Started Application in 4.337 seconds (JVM running for 4.953)

I'm using STS 3.7.1, Spring Boot 1.2.6.RELEASE and java 1.8.

Why Boot Dashboard doesn't show me the starting port of my applications?

jfcorugedo
  • 9,793
  • 8
  • 39
  • 47

3 Answers3

2

This particular feature is supported with Spring Boot 1.3.0 .

http://docs.spring.io/sts/nan/latest/NewAndNoteworthy.html

Note: some features of the dashboard like port discovery need a very recent version of boot (1.3)

Ákos Ratku
  • 1,421
  • 12
  • 14
1

I added the following dependency in my POM and it worked:

<dependency>
 <groupId>org.springframework.boot</groupId>
 <artifactId>spring-boot-starter-web</artifactId>
</dependency>
0

It's solved for me by commenting WebApplicationType.NONE

    @SpringBootApplication(scanBasePackages = "com.demo")
    public class Application {
        private static final Logger LOGGER = LoggerFactory.getLogger(Application.class);
        
        public static void main(final String... args) {
            final SpringApplication app = new SpringApplication(Application.class);
            //app.setWebApplicationType(WebApplicationType.NONE);
            app.run(args);
        }
}
Subha Chandra
  • 751
  • 9
  • 23