Setup
This page installs BootUI in a Spring Boot Spring MVC application. On WebFlux, the starter is the same; follow BootUI on Spring WebFlux. On Quarkus, follow BootUI on Quarkus. All three serve the same console and the same JSON contract.
The Quarkus guide separates the generations' coordinates and Java minimums. Choose the adapter for your application's major version rather than substituting one Quarkus extension for another.
Prerequisites
- Java 17 or later
- Spring Boot 4.x application on
spring-boot-starter-web(orspring-boot-starter-webmvc) - Maven or Gradle (or their local wrappers)
BootUI checks the host platform at startup and rejects proven incompatible framework generations. See Startup compatibility for blocking errors, warnings, and the distinction between a missing optional integration and an incompatible one.
Add the starter dependency
Adding the starter is the whole install. BootUI ships dormant: it activates in the dev and local profiles, or when spring-boot-devtools is on the classpath, and stays off in prod and production.
The starter brings no web stack of its own. Your application's spring-boot-starter-web keeps it a servlet application on Tomcat, and BootUI binds to Spring MVC; a WebFlux application keeps spring-boot-starter-webflux and the same starter binds to WebFlux. An application with neither starts no web server, and BootUI stays off.
<dependency>
<groupId>com.julien-dubois.bootui</groupId>
<artifactId>bootui-spring-boot-starter</artifactId>
<version>2.6.0</version>
</dependency>
// Groovy DSL (build.gradle)
runtimeOnly 'com.julien-dubois.bootui:bootui-spring-boot-starter:2.6.0'
// Kotlin DSL (build.gradle.kts)
runtimeOnly("com.julien-dubois.bootui:bootui-spring-boot-starter:2.6.0")
To keep the starter jar out of your production artifact, declare it in a dev-only build profile instead. See Activation and safety.
Run your app in development mode
Start the application with the dev profile active so BootUI turns on:
./mvnw spring-boot:run -Dspring-boot.run.profiles=dev
./gradlew bootRun --args='--spring.profiles.active=dev'
BootUI also activates when spring-boot-devtools is on the classpath. To decide explicitly instead of relying on the AUTO default, set bootui.enabled:
bootui.enabled=ON
The prod and production profiles disable BootUI unless bootui.enabled=ON is set. An unrecognized value fails closed and leaves BootUI disabled.
YAML parses ON as a boolean
In application.yml, ON, OFF, yes, no, true, and false are booleans, so bootui.enabled: ON arrives as true. BootUI treats ON, true, and yes as enabled and OFF, false, and no as disabled, so bootui.enabled: ON works unquoted.
Open the console
BootUI is now available at http://localhost:8080/bootui.
Unreleased source preview
The Home guides, compact findings, copy previews and startup diagnostic below are unreleased. The published dependency above does not include them. Build from source to preview these changes.
The Home guides help you choose a panel: understand the app, follow its behavior, or review the code. To start an assessment, follow Review the code, open an available advisor and choose its run action (for example Run architecture checks). Regular advisor rows start collapsed; search or filter by severity, open a row for its cached samples, and preview Copy for AI to share qualified evidence. Source locations appear only when that advisor can establish them. See Advisors.
If the console returns 404, check the startup diagnostic and the symptom-first troubleshooting guide. An ordinary inactive Spring AUTO installation explains how to activate it; deliberate OFF and disabled profiles remain quiet at INFO. Do not enable BootUI in production just to remove the 404.
Use a custom path
To move the console, set bootui.path:
bootui.path=/dev-console
The UI is then served at /dev-console, and the API, streams, downloads, writes, and MCP endpoint move to /dev-console/api/**. The old /bootui mount returns 404; it is not kept as an alias.
To serve the API from a separate mount, set bootui.api-path as well:
bootui.path=/dev-console
bootui.api-path=/internal/bootui-api
Both paths are application-relative. A servlet context path, a WebFlux base path, or a Quarkus HTTP root path is composed automatically, so server.servlet.context-path=/host with bootui.path=/dev-console produces /host/dev-console. The UI receives the browser-visible paths at runtime, so no frontend rebuild is needed.
Path validation rules
A path must be absolute and may contain only letters, digits, -, _, ., ~, and /. Trailing slashes are stripped first, so /dev-console/ is accepted. BootUI then fails startup for /, blank values, . and .. segments, query and fragment components, encoded separators, consecutive interior slashes, and routing patterns. A custom bootui.path may not live under the reserved /bootui/** namespace. See the property reference.
Use the CLI (optional)
Prefer a terminal? The bootui CLI connects to your running BootUI-enabled Spring Boot or Quarkus application. It needs Java 17 or later. The CLI endpoint is enabled by default; enabling MCP is not required.
curl -fsSL https://www.julien-dubois.com/boot-ui/install.sh | sh
irm https://www.julien-dubois.com/boot-ui/install.ps1 | iex
With your application still running, try a read-only diagnostic:
bootui --url http://localhost:8080 beans
For installation details and alternatives, see Install the CLI. The Command line reference covers commands, custom URLs, output formats, and configuration.
What to read next
Everything below is optional.
| If you want to | Read |
|---|---|
| Understand when BootUI turns on, or keep it out of your prod build | Activation and safety |
| Run BootUI on WebFlux or Quarkus | Spring WebFlux · Quarkus |
| Query your running application from a terminal | Command line |
| Run inside Docker, or in a command-line app | Non-standard runtimes |
| See which methods ran, and whether your change did | Java agent |
| Fix something that is not working | Troubleshooting |
| Look up a property | Property reference |
| See what each panel does | Features |
| Know what BootUI does not do yet, per stack | Known limitations |
Using the MySQL panel
The MySQL panel reuses a configured application JDBC datasource and MySQL Connector/J. It creates no monitoring pool, requires no Hibernate, and starts no database or workload. Keep credentials in the application's existing secure configuration. Oracle MySQL 8.4 LTS and 9.7 LTS are the tested server lines. MariaDB reached through MySQL Connector/J is read but unsupported, and R2DBC-only access is not covered.