Showing posts with label spring boot. Show all posts
Showing posts with label spring boot. Show all posts

22 November 2026

Spring Boot 4: h2-console unbundled

 If you move a Spring Boot 3 projec to Spring Boot 4, suddenly the h2-console goes missing.

That is because Spring Boot 4 has moved to smaller modules and "com.h2database:h2" does not bundle the console anymore.

Just add the now separate seperate h2-console module to your build.gradle.kts, and all should be well:

dependencies {
implementation("org.springframework.boot:spring-boot-starter-jdbc")
implementation("org.springframework.boot:spring-boot-starter-web")
runtimeOnly("com.h2database:h2")
implementation("org.springframework.boot:spring-boot-h2console")
//...
}

 

29 November 2025

Spring boot 4 / framework 7 released (updated)

Spring boot 4 was released this week, on the heels of the Spring Framework 7 release. Here are some highlights:

  • Upgrades in underlying technology:
  • Java 25 (with a Java 17 baseline)
  • Gradle 9
  • Jackson 3 
  • plenty of major releases for Spring modules (Data, AMQP, Batch, BraphQL, HATEOAS, Rest Docs, Security...)

29 November 2018

Websocket examples

Websocket examples using

5 November 2018

Spring Web Flow and Spring Boot DevTools problem: SpelEvaluationException: EL1004E: Method call:cannot be found

When calling a method with arguments using the <evaluate>  tag in a spring webflow XML definition I get the error SpelEvaluationException: EL1004E: Method call: xxx cannot be found.
I am using Spring Boot Devtools for automatic server restart upon changes.
The embedded LiveReload server uses two classloaders, and thinks the the classes of the parameters supplied by spel in the XML are different from the (same) classes in your Java code.
Hence the method is not found, and an exception is thrown.
Possible Solutions:

  • Do not use Spring Boot Devtools for Spring Web Flow projects
  • Follow the guidance in the description of the bug