
Fix Spring Boot Port 8080 Already in Use on Any System
Find the process holding port 8080 on macOS, Linux and Windows, stop it, or move Spring Boot to another port, and fix the tests that collide.
Everything you need to level up your coding skills.

Find the process holding port 8080 on macOS, Linux and Windows, stop it, or move Spring Boot to another port, and fix the tests that collide.

Read the failure analysis Spring Boot prints, classify the cause in a minute and use the condition report when no analyzer matches.

Debug a production Java problem without a debugger: build a timeline from logs, follow one request with a correlation id and raise log levels safely.

Spring Security lambda DSL explained: why and() chaining was replaced, how to write authorizeHttpRequests, formLogin and csrf with lambdas.

Size a HikariCP pool using the cores and spindles formula, Little's Law and measurement, and avoid the common mistakes of oversized pools.

Write a Dockerfile for a Java service with a multi-stage build, dependency caching, a non-root user, container-aware memory settings and a health check.

Dependency injection means a class receives its collaborators instead of building them. See what that buys in tests and wiring, and what Spring adds.

Break the circular dependency Spring Boot refuses to start with by extracting a third bean, publishing an event or, as a last resort, using lazy injection.

Choose between REST, GraphQL and gRPC for a Java service by who calls it, how data is shaped and what tooling you need, with a verdict for each case.

Follow one HTTP request through filters, the DispatcherServlet, handler mapping, argument resolution, the controller and the response writer.

Design stable REST URLs: plural nouns, shallow nesting, query strings for filters, identifiers that never change and a plan for the day a name must change.

A short set of REST API design rules for Java teams: resources, verbs, status codes, errors, pagination, versioning and what to leave out until it is needed.
We send one email when a new post is published. No spam.