java.lang.IllegalStateException: No parent defined yet (please use the other overloaded parent methods to set one)

Stack Overflow | Mamatha V Rao | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Run multiple spring boot applications with different context paths under one port

    Stack Overflow | 8 months ago | Mamatha V Rao
    java.lang.IllegalStateException: No parent defined yet (please use the other overloaded parent methods to set one)

    Root Cause Analysis

    1. java.lang.IllegalStateException

      No parent defined yet (please use the other overloaded parent methods to set one)

      at org.springframework.boot.builder.SpringApplicationBuilder.runAndExtractParent()
    2. Spring Boot
      SpringApplicationBuilder.sibling
      1. org.springframework.boot.builder.SpringApplicationBuilder.runAndExtractParent(SpringApplicationBuilder.java:224)
      2. org.springframework.boot.builder.SpringApplicationBuilder.sibling(SpringApplicationBuilder.java:247)
      2 frames
    3. com.example
      MainBootAppApplication.main
      1. com.example.MainBootAppApplication.main(MainBootAppApplication.java:16)
      1 frame