Manual restart broken with Spring Boot 2.0.x
See original GitHub issueIssue Description
It seems that due to stricter relaxed binding rules in Spring Boot 2.0.x SPRING_DEVTOOLS_RESTART_TRIGGER_FILE
environment variable is no more mapped to spring.devtools.restart.trigger-file
configuration property.
The recognized form is SPRING_DEVTOOLS_RESTART_TRIGGERFILE
.
This new form is not valid for Spring Boot 1.5.x.
Try to switch between the two forms when creating new projects and reacting to user edits of boot version directly in the pom.xml
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Spring Boot Reference Documentation
Try the How-to documents. They provide solutions to the most common questions. Learn the Spring basics. Spring Boot builds on many other Spring...
Read more >Spring Boot 2.0 Migration Guide - GitHub
This document is meant to help you migrate your application to Spring Boot 2.0 by providing thematic sections that mirror the developer guide....
Read more >Spring Boot, Maven and Eclipse Errors and TroubleShooting ...
Q : How do I configure auto restarting the server whenever source code changes? Approach 1 : Spring Boot Project; Approach 2: Non...
Read more >Unable to start EmbeddedWebApplicationContext due to ...
A "good" pom would have "spring-boot-starter-web" (for convenience) or else all the dependencies included in the starter listed individually. Just check that ...
Read more >Configuring Logback with Spring Boot - CodinGame
Spring Boot logging guide mentions that a dependency on jcl-over-slf4j is required but this is missing when using spring-boot-starter-parent at version 2.0.0.M3 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@snicoll dealing with this when creating new projects is easy while managing the user changing the boot version in the
pom.xml
harder.Will try my best.
@snicoll I agree specifying both environment variables is very very hacky . Let me have a look at it.