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

Evolution of Spring Configuration and Building Your First Spring Boot Application

The configuration approach in the Spring ecosystem has shifted significant over the years. Early Spring (1.x Era) In the initial release, dependency injection and bean definitions were managed exclusively through verbose XML files. As applications grew, this led to massive configuration files and tangled dependency graphs, making maintenance di ...

Posted on Wed, 03 Jun 2026 17:15:42 +0000 by locomotive

Architecting a Multi-Module Spring Boot Application Structure

Layered Module Architecture The foundation relies on a hierarchical Maven aggregation strategy. A root Spring Boot aggregator orchestrates dependency inheritance, while distinct child modules operate as independent deployment units. A dedicated commons artifact consolidates reusable components, including domain models, persistence layers, utili ...

Posted on Mon, 01 Jun 2026 17:32:44 +0000 by Yawa

Maven Dependency Inheritance: Dependencies vs DependencyManagement

Inheritance BehaviorWhen managing a large number of libraries in a Maven multi-module architecture, a parent POM (packaged as pom) is typically utilized to centralize version control. The behavior differs significantly between the <dependencies> and <dependencyManagement> configurations.Artifacts declared within the <dependencies ...

Posted on Mon, 01 Jun 2026 16:43:06 +0000 by l!m!t

Building and Deploying an SSM Backend Application with Maven and Tomcat

This article walks through creating a Java web backend using the SSM stack (Spring, Spring MVC, MyBatis) with Maven, packaging it as a WAR, and deploying it to Tomcat. Common configuration pitfalls are highlighted along the way. 1. Create a WAR‑based Maven project Using your IDE, choose File → New → Maven Project → Create a simple project. Fill ...

Posted on Sun, 31 May 2026 15:59:27 +0000 by burn1337