spring-boot-devtools

Spring Boot with devtools call SOAP API

耗尽温柔 提交于 2020-07-19 06:37:16
问题 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 Source Code. Because when call this Soap service, its have a problem: java.lang.IllegalArgumentException: ...ClassV11PortType referenced from a method is not visible from class loader So, I was add the spring-devtools.properties file to /src/main/resources/META-INF/spring-devtools.properties and add this

IntelliJ fails to start Spring Boot/Gradle application when using Spring Boot developer tools

£可爱£侵袭症+ 提交于 2019-12-24 04:55:11
问题 I have a Spring Boot application which fails to start in IntelliJ 2017.1.5, as soon as I add the Spring Boot developer tools to the Gradle build like this: dependencies { compile("org.springframework.boot:spring-boot-starter-web") compile("org.apache.httpcomponents:httpclient:4.5.3") compile("com.fasterxml.jackson.core:jackson-databind:2.8.8.1") compile("commons-validator:commons-validator:1.6") // This line breaks IntelliJ compatibility: optional("org.springframework.boot:spring-boot

Spring Boot DevTools not working in Eclipse

ぐ巨炮叔叔 提交于 2019-12-22 04:19:16
问题 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 changes. Then, I open the pom.xml and added <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> </dependency> I restart the application, but, still not working when I make some changes on the static page. Is there something more to do? My POM.xml <?xml

Spring-Boot-Devtools doesn't want to reload process (doesn't pick up proper classpaths?)

孤者浪人 提交于 2019-12-21 11:23:05
问题 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) from my git repo working dir, i can see: maven logs: DEBUG] Classpath for forked process: C:\Users\razor\git\spring-boot-starter\target\classes;........ that's ok, path looks good. and then app logs: 2016-09-21 23:47:59.568 DEBUG 13528 --- [ restartedMain] .b.l.ClasspathLoggingApplicationListener :

Spring-Boot-Devtools doesn't want to reload process (doesn't pick up proper classpaths?)

微笑、不失礼 提交于 2019-12-21 11:22:25
问题 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) from my git repo working dir, i can see: maven logs: DEBUG] Classpath for forked process: C:\Users\razor\git\spring-boot-starter\target\classes;........ that's ok, path looks good. and then app logs: 2016-09-21 23:47:59.568 DEBUG 13528 --- [ restartedMain] .b.l.ClasspathLoggingApplicationListener :

Nomin and Spring Boot application: recursive mapping rule a = b causes infinite loop

好久不见. 提交于 2019-12-11 06:45:33
问题 As I had already few issues with combination Nomin, Eclipse and Groovy (see link1 and link2), I am again struggling with it. My application works with JUnit Tests, both in Console via Gradle and Eclipse. But now it doesn't want to work when executing SpringBoot-Main class. Either in Eclipse nor with gradle bootRun on Console or Eclipse Gradle Task => Same Exception @SpringBootApplication class CcmApplication { static void main(String[] args) { def ctx = SpringApplication.run CcmApplication,

Spring Boot DevTools doesn't reaload the application

China☆狼群 提交于 2019-12-11 06:11:12
问题 I am using Eclipse and I added in my pom.xml this dependency: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> </dependency> So in another project the dependency worked well DevTools reloads my application with success but in my new Spring-Boot application I have external libraries like openCV3.2.0 jar and JavaFX. Is this a problem? Or can you tell me what should I provide you to fix the problem? Here is my full

Spring Boot application fails to run - spring.resources.cache-period were left unbound

懵懂的女人 提交于 2019-12-10 17:31:21
问题 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 however is set in application.properties and compiler is even returning it's value. I'll really appreciate if someone could lend me a hand with that issue. Logs pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001

Intellij IDEA 使用Spring-boot-devTools无效解决办法

ぃ、小莉子 提交于 2019-12-04 16:27:33
相信大部分使用Intellij的同学都会遇到这个问题,即使项目使用了spring-boot-devtools,修改了类或者html、js等,idea还是不会自动重启,非要手动去make一下或者重启,就更没有使用热部署一样。 网上关于spring-boot-devtools的热部署都是eclipse的配置,并不适合IDEA,IDEA的需要特殊的设置 出现这种情况,并不是你的配置问题,相信自己,热部署那几个设置很简单,其根本原因是因为Intellij IEDA和Eclipse不同,Eclipse设置了自动编译之 后,修改类它会自动编译,而IDEA在非RUN或DEBUG情况下才会自动编译(前提是你已经设置了Auto-Compile)。 废话这么多,怎么解决呢?请耐心往下看。 首先,IDEA设置里面这里必须打勾 然后 Shift+Ctrl+Alt+/,选择Registry ok了,重启一下项目,然后改一下类里面的内容,IDEA就会自动去make了。 来源: oschina 链接: https://my.oschina.net/u/2772739/blog/806942

Spring Devtools triggers restart when changing excluded files

怎甘沉沦 提交于 2019-12-02 10:31:17
问题 I have a Spring Boot Web Project that uses Joinfaces and Primefaces . The application extends from SpringBootServletInitializer and also generates a war file. For development I start my Project (in Eclipse) using RunAs -> Spring Boot App . I've added the spring-boot-devtools dependency as described in the Developer Tools Docu. Everything seems to work, except that changes in a xhtml file also triggers the restart. I've added the spring.devtools.restart.additional-exclude property in my