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

Deploying Spring Boot Applications as WAR Files on External Tomcat

Configuring Maven for WAR Output Modify the build configuration to change the artifact type. Set the packaging element to war within the POM. <project> <groupId>com.example</groupId> <artifactId>enterprise-app</artifactId> <version>1.0.0</version> <packaging>war</packaging> ...

Posted on Tue, 30 Jun 2026 17:57:41 +0000 by snk

Spring Boot Development Workflow: From Setup to API Implementation

Backend Development Framework Architecture Overview: Client sends HTTP request to Controller layer Controller receives the request and passes data to Service layer Service layer handles business logic, may interact with DAO layer for database operations or Client layer for remote service calls DAO layer executes database operations and returns ...

Posted on Fri, 26 Jun 2026 17:27:05 +0000 by mlcheatham

Configuring a High-Availability Eureka Server Cluster with Spring Cloud

Network Configuration Modify your local hosts file to map custom domain names to the loopback address for simulating a multi-node environment: 127.0.0.1 node1 127.0.0.1 node2 127.0.0.1 node3 Service Registry Setup Define the Maven dependencies for the Eureka Server. Ensure the spring-cloud-starter-netflix-eureka-server dependency is includ ...

Posted on Wed, 24 Jun 2026 17:13:21 +0000 by jmrouleau

Integrating Tencent HunYuan with Spring AI 1.0.0 Using a Custom Starter

Background and Compatibility Users relying on the 1.0.0-M6 milestone release from Maven Central have reported various runtime exceptions and compatibility mismatches. To address this, the community starter spring-ai-hunyuan has been refactored to align with the official Spring AI 1.0.0 stable release. The updated source code is available here: ...

Posted on Thu, 18 Jun 2026 18:03:22 +0000 by Gho

Troubleshooting 'Package Does Not Exist' Errors with Local JARs in Maven Multi-Module Projects

Problem Description In a multi-module Maven project, where Module B depends on Module A (B -> A), you might encounter a compilation error when building Module B. The error, java: 程序包XXX.XXX.XXX不存在 (or "package XXX.XXX.XXX does not exist" in English), occurs if Module A relies on a local JAR file that is not visible to Module ...

Posted on Wed, 17 Jun 2026 17:43:37 +0000 by sameveritt

Deploying a Spring Boot Application as a WAR on Tomcat

By default, Spring Boot applications are packaged as executable JARs with an embedded Tomcat server. While convenient for development and microservices, this approach has limitations in certain scenarios—particularly when dealing with file uploads that need to persist acrross application restarts. Since the embedded server starts fresh each tim ...

Posted on Wed, 17 Jun 2026 16:25:46 +0000 by dstockto

Automated CI/CD Setup with Jenkins, JDK, Maven, Git, and Docker on CentOS 7

Install OpenJDK 21 Download the JDK binary: wget https://mirrors.huaweicloud.com/openjdk/21/openjdk-21_linux-x64_bin.tar.gz Extract and relocate to /usr/local: sudo tar -xzf openjdk-21_linux-x64_bin.tar.gz -C /usr/local/ ls /usr/local/jdk-21/ Update system-wide environment variables by editing /etc/profile: export JAVA_HOME=/usr/local/jdk-2 ...

Posted on Sat, 13 Jun 2026 17:46:21 +0000 by kirannalla

Getting Started with Maven: A Developer's Configuration Guide

Managing dependencies in Java projects has historically been a cumbersome process. Developers had to manually download JAR files, handle version conflicts, and maintain complex classpath configurations. This changed with the introduction of Maven, a build automation and project comprehension tool that simplifies dependency management significan ...

Posted on Sat, 13 Jun 2026 16:10:12 +0000 by marlonbtx

Resolving Maven Dependency Version Conflicts

Maven handles dependency version conflicts through two primary rules: "nearest definition" and "first declaratino". When you directly include hutool-all:5.8.38 but it gets overridden by a transitive dependency (like spx-boot-starter pulling hutool-all:5.8.10), use these approaches to enforce your preferred version: Approach ...

Posted on Wed, 10 Jun 2026 17:25:56 +0000 by mcatalf0221