Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Manual restart broken with Spring Boot 2.0.x

See original GitHub issue

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.


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:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

AlexFalappacommented, Nov 10, 2017

@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.

AlexFalappacommented, Nov 11, 2017

@snicoll I agree specifying both environment variables is very very hacky . Let me have a look at it.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found