cost 221 ms
尽管已经安装了 Spring Boot 开发工具,但 Spring Boot 应用程序不会重新加载 - spring boot app does not reload despite spring boot dev tools already installed

我已经在我的 pom.xml 文件中包含了这个依赖项 在编译器/设置中更改为“自动构建项目”,重新加载 Maven 项目,重新构建项目,但是当我在控制器中进行更改时,它似乎没有重新加载应用程序(我看不到更改),尽管我在终端中看到了这个 ...

如何让 Spring Boot Kotlin bootRun 和 devtools 重启更快? - How to make Spring Boot Kotlin bootRun and devtools restart faster?

我正在开发一个 Spring Boot + Kotlin 应用程序,并希望加快 bootRun 启动和 devtools 重启时间。 目前重启大约需要 20-30 秒,与可以热重载时近乎即时刷新前端更改相比,这感觉慢得令人痛苦。 我正在使用 macOS Big Sur 11.6.7 和 Amazo ...

Spring Boot Devtools 记录“正在启动应用程序”后发生了什么 - What is happening after Spring Boot Devtools logs "Starting application"

我正在尝试找出在使用 spring-boot-devtools 时改善 Spring Boot 应用程序重启时间的方法,并看到这些日志行之间始终存在约 5 秒的延迟: 我已将根日志级别设置为 TRACE,但在那 5 秒内仍然什么也看不到。 那段时间发生了什么,有什么可以加快速度的吗? ...

spring-dev-tools 不重新加载项目中的更改,Intellij idea - spring-dev-tools does not reloading changes in project, Intellij idea

Maven 依赖项 spring-boot-devtools 不会自动重新加载项目中的更改。 我通过更改“运行配置”的参数解决了这个问题。 Go 编辑配置->在 Spring 启动部分你会看到- 运行应用程序更新策略- 选项更改 - "在“更新”操作- 到 -> 更新触发器文件和 ...

spring 使用数据启动应用程序 JPA 多次添加数据 - spring boot application with data JPA added data many time

我使用数据 JPA 创建了 Spring 引导应用程序并添加了开发工具依赖项,并在 JSP 和注册页面中创建了一个简单的登录页面。 当我填写注册表并使用@ModelAttribute在controller中获取注册数据并将此数据保存到数据库和go回到登录页面并刷新登录页面2或3次然后我的数据在数据库 ...

spring-boot-devtools 自动重启不起作用 - spring-boot-devtools Automatic Restart not working

我有一个使用 mvn 构建的 Spring Boot 2.25 应用程序。 根据这个文档我添加 从文档中: 由于 DevTools 监视类路径资源,触发重启的唯一方法是更新类路径。 更新类路径的方式取决于您使用的 IDE。 在 Eclipse 中,保存修改后的文件会导致类路径更新并触发重启。 在 I ...

Spring 引导开发工具/实时重新加载 - 刷新 static 资源不起作用 - Spring Boot Dev Tools / Live Reloading - refresh of static resources is not working

为了改善开发人员体验,我尝试包含 Spring 开发工具。 我的设置: 多个模块 Gradle 6.6 Spring 启动 2.4.2 Thymeleaf 与 Webpack 反应子页面我使用了一个多项目 gradle 构建,其中包含一个settings.gradle文件和一个子模块,该子模块也 ...

Spring 引导开发工具远程导致 Pivotal Cloud Foundry 出现错误 - Spring Boot Devtools Remote cause error at Pivotal Cloud Foundry

抱歉,不能发布信誉低的图片)这是我的设置:Spring 启动:2.3.0.RELEASE 秘密 build.gradle Intellij Idea IDE 运行/调试配置我有这个应用程序在 Pivotal Cloud Foundry 工作。 我已经运行远程应用程序并在通过 IDE 构建或使用./ ...

java.lang.ClassCastException: class ... 在加载程序“app”的未命名模块中 - spring-boot-dev-tools - java.lang.ClassCastException: class … is in unnamed module of loader 'app' - spring-boot-dev-tools

我们有一个更大的 Spring 引导应用程序,它会导致以下异常: 从与 JPA 类有关的 IDEA IntelliJ 开始。 该应用程序在从普通命令行启动时运行良好。 在我们移除依赖之后 IDE 内的执行工作正常,没有任何问题。 我们正在使用: Idea IntelliJ 2020.1.2 ...

如何动态重新编译部署Spring Boot项目所依赖的Java项目? - How to dynamically recompile and deploy Java project that a Spring Boot project is dependent upon?

我有一个启用了 Spring Boot DevTools 的 Spring Boot Maven 项目,这样当我更改项目中的代码时,它会自动重新加载。 我还有一个我在 pom.xml 中引用的依赖项目: 我还希望在依赖项目中具有相同的功能,以便当我在该项目中更改代码时,父项目将动态获取更改并重新 ...

Gradle Spring Boot Devtools:developmentOnly 和 runtimeClasspath - Gradle Spring Boot Devtools: developmentOnly and runtimeClasspath

我对在gradle文件中使用的gradle代码感到困惑,这是由开发工具上的Spring Boot 文档建议的 我想我必须声明developmentOnly配置,因为它要在dependencies {}块中使用,但是为什么我需要runtimeClasspath的行? 我实际上尝试删除我的项目中的行 ...

如何在没有 @EnableAutconfiguration 或 @SpringBootApplication 的情况下使 spring-boot-devtools 工作? - How can I make spring-boot-devtools work without @EnableAutconfiguration or @SpringBootApplication?

我正在使用 spring-boot v1.3.5.RELEASE 开发一个应用程序,它不使用@SpringBootApplication也不使用@EnableAutconfiguration (客户要求)。 我想让spring-boot-devtools在我的 IDE 中具有“重启”功能。 我把它 ...

thymeleaf 模板的实时重新加载 - Live reload for thymeleaf template

当我更改驻留在 /templates 中的 thymeleaf.html 文件时,我希望浏览器自动重新加载页面。 我安装了实时重载插件,它能够与 spring 启动服务器进行握手。 但是,在更改 thymeleaf 模板文件后,我必须手动重新加载浏览器。 任何我可能遗漏的建议。 显然我启用了spri ...

Spring Boot devtools-有时重新启动时未拾取重新加载的bean - Spring Boot devtools - sometimes reloaded bean is not picked up on restart

我在使用spring-devtools重新启动功能时遇到了一些麻烦。 似乎有时出于未知原因而更改,并且未拾取重新装入的Bean。 应用类别: 命令行运行器: 更改并重新加载的服务: pom.xml中: 通常第一次重装可以正常工作: 但是第二或第三次 ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM