spring-boot-devtools Questions

4

We have a larger Spring boot application which causes the following exeception: java.lang.ClassCastException: class jpa.XVersion cannot be cast to class jpa.XVersion (jpa.XVersion is in unnamed mo...
Vapory asked 25/6, 2020 at 12:50

1

When developing a web application SpringBoot dev tools module is handy for speeding up the compile and run loop. However, I could not find any similar feature for integration tests. More specifica...
Fils asked 15/5, 2019 at 22:42

6

I have a working Spring Boot 2.25 application built with mvn. As per this documentation I add <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <...
Tempa asked 21/4, 2021 at 10:29

2

Maven dependency spring-boot-devtools does not reloading changes in a project automatically. I have solved this problem by changing parameters of "running configuration". Go to edit confi...
Laoag asked 25/3, 2022 at 5:49

3

Solved

This is a tutorial on how to enable Dev Tools project on IntelliJ 2021.2 and observe the changes in code without having to restart the Tomcat server.
Shellashellac asked 5/10, 2021 at 11:49

9

Solved

I built an application using Spring, JPA, MySQL and Web. I developed a static page in template folder normally and it works. But, when I change something on static page, I can't reload it with cha...
Bascom asked 31/3, 2017 at 18:13

2

Solved

I obtained an exception when generated a stub for a WS service by wsimport in /target/class/..... and run a spring boot application with devtools. Caused by: java.lang.IllegalArgumentException: ...
Autochthonous asked 22/5, 2018 at 10:15

4

When I change a thymeleaf .html file residing inside /templates , I expect the browser to automatically reload the page. I have the live reload plugin installed and its able to do a handshake with ...

0

When using the spring boot dev tools library the are some problems with class loaders, mainly: The problem is that there are two class loaders for dedicated class. When load the class from memcach...
Electrode asked 16/11, 2021 at 13:28

1

I am running a spring boot application on an embedded tomcat server on eclipse in my local environment with spring dev tools enabled. And I also have spring web flow configured in the application. ...
Spermogonium asked 25/4, 2018 at 9:11

2

I am puzzled by this block of code to be used in a gradle file, suggested by Spring Boot Documentation on Developer Tools configurations { developmentOnly runtimeClasspath { extendsFrom develop...

2

Started spring-boot with spring-boot-devtools recently in IntelliJ and spent couple of hours trying to figure out why IntelliJ would not pick up my changes and auto restart embedded tomcat. Inform...

1

I am deploy an project Spring Boot, using devtools(spring-boot-devtools) and call a Soap service. I generate the Soap class into /src/main/resources/templates/generated and add this folder as Sourc...
Cough asked 6/5, 2019 at 2:13

1

I'm getting the following error after i try to load an entity by id in hibernate Course is in unnamed module of loader 'app'; here is an example of my hibernate load code: Course temp = (Cour...
Spanos asked 13/4, 2019 at 10:40

1

Solved

In my appllicaiton, I add SpringBoot devtools to improve the development speed. <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools&...
Crompton asked 8/1, 2019 at 2:55

3

Solved

I'm having difficulties with my Spring Boot application which is not willing to run. According to logs the reason of this situation is unbound spring.resources.cache-period property. This property...
Impi asked 6/6, 2018 at 15:54

0

I have created a simple Spring Boot app using IntelliJ that use Spring Boot Devtools as dependency and Gradle as build automation with option: Use default gradle wrapper. However, the Devtools seem...
Ascogonium asked 30/11, 2018 at 10:12

1

I'm using spring boot devtools with my project. When i write System.out.println("test"); before main, it printing twice in console. public static void main(String[] args) { System.out.println...
Deuterium asked 22/5, 2018 at 8:35

2

Solved

Before I start, I'd like to say that I already tried the solution proposed in spring-boot-devtools reload of multi-module maven project changes, which didn't work for me. Problem: I have a multi-...
Workbook asked 13/10, 2017 at 10:54

2

Solved

I have a small Spring Boot project (from spring-boot-starter). Everything configured, i want to use Spring-Boot-Devtools for automatic reloading. When i launch my project (mvn spring-boot:run -X) f...
Tootsie asked 22/9, 2016 at 8:52
1

© 2022 - 2024 — McMap. All rights reserved.