Linked Questions
16 questions linked to/from Why does my Spring Boot App always shutdown immediately after starting?
-1
votes
1
answer
2k
views
'Run as Spring Boot App' on STS but "webpage is not available" in the browser [duplicate]
Like the title said, I right click on the spring boot project and Run as Spring Boot App. This is what I saw in the Console window of STS:
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_|...
183
votes
29
answers
450k
views
Spring Boot: Cannot access REST Controller on localhost (404)
I am trying to adapt the REST Controller example on the Spring Boot website.
Unfortunately I've got the following error when I am trying to access the localhost:8080/item URL.
{
"timestamp": ...
23
votes
10
answers
37k
views
Why does Spring Boot web app close immediately after starting?
Using STS, if I import the "Rest Service" Getting Started project using the latest Spring Boot and choose "Run As Spring Boot App", it starts up, then immediately shuts down.
Looking at the debug ...
8
votes
10
answers
26k
views
Spring boot application shutdown immediate after starting
I am trying to build a simple SpringBoot application. When I run my spring boot application it shutdown immediate after starting, below is the console log:
. ____ _ __ _ _
/\\ /...
9
votes
5
answers
30k
views
Error registering service to eureka server
I am trying to register a client to spring-eureka-server, client deregisters just after registering
eureka-server logs:
2018-05-13 16:02:47.290 INFO 25557 --- [io-9091-exec-10]
c.n.e.registry....
12
votes
2
answers
8k
views
Accessing the deployed service using Helm chart in Kubernetes cluster
Currently, I am trying to deploy my microservice end point Docker image on a Kubernetes cluster by creating the Helm chart. For this, I created the chart and changed the parameters in values.yaml and ...
1
vote
1
answer
8k
views
Why does my Spring Boot app shutdown by itself
I start my Spring Boot webapp using java -jar xxx.jar, but after running for a while the app shuts down by itself. Here is the --debug log
22:55:36.187 [http-nio-7082-exec-10] DEBUG o.s.web.servlet....
4
votes
1
answer
5k
views
why spring boot always shutdown in two hours
i build it using mvn clean package and get a xxx.jar file.
run $java -jar xxx.jar >> output.log & start it, and it works well.
but about two hours later, it shutdown, why?
here is an ...
0
votes
4
answers
2k
views
Cannot start Spring Boot Application
cannot start the Application. Everytime i see this on my console.
2019-10-16 16:00:32.557 INFO 3496 --- [ restartedMain]
com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown
...
0
votes
1
answer
2k
views
spring boot app works on intellij but not with .jar file
I am new to Spring boot and java. I have a simple Spring boot app which has one function. When I run it on intellij it works well, and I am able to test it with postman many times without issue. But ...
1
vote
1
answer
2k
views
Spring Boot App shutdown immediately under spring-boot-starter-parent version 2.0.1.RELEASE
I was studying JavaBrain's spring boot video and I ran into the same error as the link below.
Why does my Spring Boot App always shutdown immediately after starting?
I have specified the dependency ...
0
votes
0
answers
664
views
Spring boot embedded Tomcat shuts down after a specific time
I really cannot understand what is wrong with my Embedded Tomcat configuration. It works fine, but when I try to keep it alive remotely, it shuts down after approximately one hour. We use Ubuntu ...
1
vote
2
answers
535
views
SpringBoot application shuts down when running using JAR, but works well when running from cmd or VSCode
I am trying to run a SpringBoot application from a JAR file, which I have built using VSCode's Project Manager from Java.
The app runs smoothly when running from VSCode, or when running from the ...
2
votes
1
answer
445
views
Camel EventNotifierSupport is not triggered with camel-spring-boot
Found that Camel EventNotifierSupport is not triggered with camel-spring-boot.
When working without camel-spring-boot, I am able to see this log. Should I use another lifecycle supporting class ...
0
votes
0
answers
318
views
Spring Boot service runs on Windows for only a few seconds
Windoze 7
Java 1.8
Spring Boot 2.0.2.RELEASE
Eclipse Oxygen
I've crafted a basic Spring Boot app. Maven creates an executable jar successfully. Turning on TaskManager->Processes then executing the ...