Integrating Swagger 2 with Spring Boot for API Documentation and Testing
1. Project Dependencies
Add the following coordinates to your pom.xml to enable Swagger 2 and the enhanced Bootstrap UI theme:
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>2.9.2</version>
</dependency>
<dependency>
<grou ...
Posted on Thu, 09 Jul 2026 17:07:41 +0000 by LacOniC
Deploy Spring Boot and Vue Applications on Baota Panel with HTTPS
Backend Packaging Notes
Configure proxy bypass in the backend to allow specific domain access. Write two allowed domains: your configured domain and the server IP address. During frontend development, ports are used; in production, omit ports to avoid lock-in.
application.yml Configuration
server:
port: 9999
servlet:
context-path: /api
...
Posted on Thu, 09 Jul 2026 16:46:33 +0000 by rimelta
API Documentation with Swagger in Spring Boot
Swagger Overview
Swagger is an open-source framework that simplifies API documentation by generating interactive, machine-readable specifications from code annotations. It enables frontend and backend teams to collaborate efficiently by providing real-time API documentation and a built-in testing interface.
Project Setup
Maven Dependencies
Add ...
Posted on Thu, 09 Jul 2026 16:18:01 +0000 by avario
Troubleshooting Spring Boot Registration Form Data Reception Issues
Project Context
Developing a recruitmant platform with Spring Boot 2.7 and MyBatis Plus. The registration module encounters server-side data reception failures despite functional business logic tests.
Symptom Description
Submitting the job seeker registration form triggers an HTTP 500 error. Server logs indicate validation failure: "Userna ...
Posted on Thu, 09 Jul 2026 16:04:02 +0000 by SoN9ne
Essential Docker Commands and Configuration Guide
Essential Docker Commands and Configuration Guide
Recently, while deploying a Spring Boot project with separate front-end and back-end components, I found Docker to be extremely convenient. Here's a summary of essenttial Docker commands and configurations.
1. Recommended Resources
Docker Documentation: https://docs.docker.com/ - Official docum ...
Posted on Wed, 08 Jul 2026 17:10:29 +0000 by a-scripts.com
Implementing Routing in a Vue.js Frontend with a Java Spring Boot Backend
In a decoupled web application, the Vue.js frontend manages UI navigation while the Java backend handles API endpoints. Effective routing requires coordination between these layers.
Frontend Routing with Vue Router
Install the Vue Router package into the Vue project:
npm install vue-router@4
Set up the router configuration in a dedicated file, ...
Posted on Sat, 04 Jul 2026 17:06:47 +0000 by M.O.S. Studios
Resolving Common Issues When Integrating Spring Boot with SSM Stack
Integrating Spring Boot with the traditional SSM (Spring + Spring MVC + MyBatis) stack can lead to several subtle configuration pitfalls. Below is a distilled summary of frequent issues and their solutions based on practical troubleshooting. One of the first issues encountered was the IDE marking @RestController as unresolved. This was resolved ...
Posted on Thu, 02 Jul 2026 16:40:03 +0000 by crazykid
Creating a Custom Spring Boot Starter with Auto-Configuration
Begin by creating a new Maven project. The pom.xml should define the Spring Boot parent and include the web sttarter dependency.
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.0</version>
<relativePath/>
</pa ...
Posted on Thu, 02 Jul 2026 16:33:54 +0000 by traxy
ClickHouse Docker Deployment and Spring Boot Integration Guide
Docker Deployement Configuration
ClickHouse can be easily deployed using Docker. The following configuration covers the essential setup including network ports, storage volumes, and security parameters.
Basic Container Launch
docker run -d \
--name=clickhouse-server \
-e CLICKHOUSE_ADMIN_PASSWORD=secure_password \
--ulimit nofile=262144:2 ...
Posted on Wed, 01 Jul 2026 18:05:37 +0000 by jackie11
Creating a Docker Image for a Java JAR Application
Docker enables developers to package applications along with their dependencies into portable containers. This approach simplifies deployment across different environments. A common use case involves containerizing a Sprinng Boot or other Java application packaged as an executable JAR file.
Prerequisites
An executable .jar file (e.g., myapp.ja ...
Posted on Tue, 30 Jun 2026 17:58:12 +0000 by yankeefan238