Skip to content

Prerequisites

Before adding Mateu to your project, verify the following requirements.

Java 21 or later. Mateu relies on records, sealed interfaces, and pattern matching — Java 21 is the minimum supported version.

Verify with:

Terminal window
java -version

Maven 3.9+ or Gradle 8+.

Mateu’s annotation processor generates source files at compile time. Both Maven and Gradle support this out of the box, but you must configure the processor explicitly (see each framework setup page for the exact configuration).

Pick one of the supported frameworks:

FrameworkVersion
Spring Boot MVC4.x
Spring Boot WebFlux4.x
Quarkus3.x
Micronaut4.x
Helidon MP4.x

Spring Boot 3 is not supported, by decision. The whole 3.x line is out of open-source support: its last generation, 3.5 (with Spring Framework 6.2 and Spring Security 6.5), reached its end of OSS support on 30 June 2026, and 3.5.16 was its last OSS release — the Spring team recommends moving to 4.0.x or 4.1.x (Spring Boot 3.5.16 available now). An application on Boot 3 no longer receives free security fixes from Spring, so Mateu 3.0 does not carry a second set of adapters and a CI matrix for it: the Spring adapters are built and tested against Spring Boot 4 (Spring Framework 7) only, and Boot 4 moved packages they depend on. Upgrade the application to Boot 4 (Java 21) to use Mateu.

Pick your framework and follow its setup guide: