Tagged articles

Maven

739 articles · Page 5 of 8
Code Ape Tech Column
Code Ape Tech Column
Oct 5, 2022 · Backend Development

Spring Boot 2.7 Upgrade Pitfalls and Solutions

This article provides a comprehensive guide to upgrading Spring Boot to version 2.7, detailing common issues such as missing dependencies, logging conflicts, circular bean references, Swagger configuration changes, Flyway compatibility, JUnit version mismatches, and JSON Long precision loss, along with concrete code‑based solutions.

JavaMavenSpring Boot
0 likes · 14 min read
Spring Boot 2.7 Upgrade Pitfalls and Solutions
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 30, 2022 · Backend Development

Unified Maven Dependency Management for Multi‑Module Java Projects

This article explains how Java developers can use Maven’s dependency‑management features to create a centralized version‑control system that unifies third‑party library versions across multiple modules and services, reducing upgrade pain, avoiding version conflicts, and establishing a solid foundation for scalable backend architecture.

JavaMavenMulti-module
0 likes · 11 min read
Unified Maven Dependency Management for Multi‑Module Java Projects
DaTaobao Tech
DaTaobao Tech
Sep 14, 2022 · Backend Development

Optimizing Maven Surefire Parallel Execution for Large-Scale Unit Tests

The Taobao User Operations Platform team reduced CI unit‑test time from fifty minutes to ten by configuring Maven Surefire to reuse forks, use a fork count of twice the CPU cores, and run methods in parallel with an appropriate thread count, achieving faster builds while keeping failure rates low.

CIJUnitJava
0 likes · 10 min read
Optimizing Maven Surefire Parallel Execution for Large-Scale Unit Tests
Cognitive Technology Team
Cognitive Technology Team
Sep 3, 2022 · Backend Development

Diagnosing NoSuchMethodError and NoSuchFieldError in Spring Boot Jar Packages

This article explains why a Spring Boot application that runs fine in an IDE may throw NoSuchMethodError or NoSuchFieldError when packaged as an executable jar, and provides systematic steps—including JVM class‑loading flags, Maven enforcer rules, and class‑path inspection—to locate and resolve the root cause.

Class LoadingMavenNoSuchMethodError
0 likes · 6 min read
Diagnosing NoSuchMethodError and NoSuchFieldError in Spring Boot Jar Packages
Sanyou's Java Diary
Sanyou's Java Diary
Aug 25, 2022 · Backend Development

Effortlessly Update Maven Versions Across Hundreds of Modules

This guide shows two reliable Maven techniques—using the versions-maven-plugin and a placeholder with the flatten-maven-plugin—to safely update version numbers across dozens of modules without manual errors or risky global replacements.

Mavenbuild automationflatten-maven-plugin
0 likes · 6 min read
Effortlessly Update Maven Versions Across Hundreds of Modules
Programmer DD
Programmer DD
Aug 22, 2022 · Operations

Automate Spring Boot Deployment with Jenkins, Docker, and One‑Click CI/CD

This guide walks through installing Docker and Jenkins on CentOS 7, configuring Jenkins with necessary plugins, setting up Maven, creating a Jenkins pipeline to pull, build, and containerize a Spring Boot project, and finally testing and running the application automatically, providing a complete one‑click CI/CD solution.

CI/CDCentOSDocker
0 likes · 8 min read
Automate Spring Boot Deployment with Jenkins, Docker, and One‑Click CI/CD
Programmer DD
Programmer DD
Aug 17, 2022 · Backend Development

How to Build a Netty WebSocket Server with Spring Boot and Java

This tutorial walks through creating a Netty‑based WebSocket server in Java, adding Maven dependencies, integrating it with a SpringBootApplication, implementing server and channel handlers, crafting a simple HTML client, and extending the setup to support URL parameters, complete with code examples and screenshots.

JavaMavenNetty
0 likes · 12 min read
How to Build a Netty WebSocket Server with Spring Boot and Java
Programmer DD
Programmer DD
Aug 4, 2022 · Backend Development

Build a Netty‑Powered Instant Chat Plugin for IntelliJ IDEA – Full Guide

This article introduces XEChat‑Idea, a Netty‑based instant messaging and game‑battle plugin for IntelliJ IDEA, detailing its features, project structure, required environment, step‑by‑step build, run and deployment instructions for both the server and the IDEA plugin, and how to install it locally.

Chat PluginGradleIntelliJ IDEA
0 likes · 5 min read
Build a Netty‑Powered Instant Chat Plugin for IntelliJ IDEA – Full Guide
Architecture Digest
Architecture Digest
Aug 3, 2022 · Backend Development

How to Retrieve Client IP and Use ip2region for IP Geolocation in Java

This article explains how to obtain a user's IP address from an HttpServletRequest, introduces the ip2region offline IP‑location library, demonstrates Maven integration and multiple Java query implementations—including file‑only, vector‑index, and full‑memory caching—while providing benchmark and testing instructions.

HttpServletRequestIP GeolocationJava
0 likes · 15 min read
How to Retrieve Client IP and Use ip2region for IP Geolocation in Java
Java Backend Technology
Java Backend Technology
Jul 23, 2022 · Backend Development

Gradle vs Maven: Install, Wrapper, and Dependency Management Explained

Gradle offers a modern, flexible alternative to Maven for Java projects, with faster builds, concise Groovy scripts, powerful dependency scopes, easy installation via binaries, package managers, or the Gradle Wrapper, plus configurable mirrors and proxy settings, making it ideal for backend development workflows.

Build ToolsDependency ManagementGradle
0 likes · 12 min read
Gradle vs Maven: Install, Wrapper, and Dependency Management Explained
macrozheng
macrozheng
Jul 22, 2022 · Backend Development

Build an Instant Chat & Game Plugin for IntelliJ IDEA with Netty

This guide walks you through installing, using, and deploying a Netty‑based instant messaging and game plugin for IntelliJ IDEA, covering setup steps, chat commands, game play, server deployment with Maven, and how to explore its source code for learning.

IntelliJJavaMaven
0 likes · 4 min read
Build an Instant Chat & Game Plugin for IntelliJ IDEA with Netty
IT Services Circle
IT Services Circle
Jul 15, 2022 · Backend Development

How to Retrieve IP Geolocation in Java Using ip2region

This tutorial explains how to obtain a user's IP address from an HttpServletRequest, interpret the IP using the ip2region offline database, and display the corresponding province or country in a Java backend application, including code examples and Maven integration.

IP GeolocationJavaMaven
0 likes · 11 min read
How to Retrieve IP Geolocation in Java Using ip2region
Java High-Performance Architecture
Java High-Performance Architecture
Jul 5, 2022 · Backend Development

How Spring Boot Auto‑Configures Embedded Tomcat: A Deep Dive

This article explains Spring Boot’s auto‑configuration mechanism, focusing on how the spring‑boot‑autoconfigure module automatically sets up the embedded Tomcat server, detailing the relevant Maven dependencies, configuration classes, conditional annotations, and the lifecycle steps that create and start the Tomcat container.

JavaMavenSpring Boot
0 likes · 15 min read
How Spring Boot Auto‑Configures Embedded Tomcat: A Deep Dive
Programmer DD
Programmer DD
Jun 16, 2022 · Backend Development

Mastering Alibaba’s COLA: Clean Object‑Oriented Layered Architecture for Backend Services

COLA (Clean Object‑Oriented & Layered Architecture) is Alibaba’s open‑source framework that defines a structured, layered approach to reduce system entropy, offering both an architectural guide and a suite of reusable components—plus Maven archetypes and step‑by‑step commands to quickly generate and run a functional backend service.

COLAJavaMaven
0 likes · 4 min read
Mastering Alibaba’s COLA: Clean Object‑Oriented Layered Architecture for Backend Services
Top Architect
Top Architect
May 29, 2022 · Information Security

Step‑by‑Step Guide to Building a CAS‑Based Single Sign‑On (SSO) System with Server and Client Configuration

This article provides a comprehensive tutorial on implementing Single Sign‑On using the open‑source CAS solution, covering the concepts of SSO and CAS, required development environment, server‑side deployment, client integration with Spring Boot, configuration details, and a complete end‑to‑end testing workflow.

CASJavaMaven
0 likes · 9 min read
Step‑by‑Step Guide to Building a CAS‑Based Single Sign‑On (SSO) System with Server and Client Configuration
IT Services Circle
IT Services Circle
May 8, 2022 · Backend Development

Integrating AJ-Captcha Behavioral Verification in Spring Boot Applications

This article introduces the AJ-Captcha library, explains its sliding‑puzzle and click‑based behavior verification types, and provides a step‑by‑step guide with Maven configuration, front‑end integration code, and Spring Boot backend verification to replace traditional graphic captchas.

AJ-CaptchaBehavioral CaptchaFront‑End Integration
0 likes · 9 min read
Integrating AJ-Captcha Behavioral Verification in Spring Boot Applications
Architect's Tech Stack
Architect's Tech Stack
May 1, 2022 · Backend Development

Using JMH for Java Microbenchmarking: A Comprehensive Guide

This article introduces Java Microbenchmark Harness (JMH), explains why warm‑up is needed, walks through project setup with Maven, demonstrates benchmark code for LinkedList iteration, details common JMH annotations, shows how to run and interpret results, and concludes with practical usage tips, while also mentioning a promotional book giveaway.

JMHJavaMaven
0 likes · 12 min read
Using JMH for Java Microbenchmarking: A Comprehensive Guide
Programmer DD
Programmer DD
Apr 22, 2022 · Backend Development

Master FastJSON 2.0: Maven Setup, Core APIs, and JSONPath Guide

This article introduces FastJSON 2.0, explains how to add the Maven dependency, outlines the main classes and methods for JSON, JSONB, and JSONPath, and provides code examples for serializing and deserializing Java objects as well as partial parsing with JSONPath.

DeserializationJavaJsonPath
0 likes · 10 min read
Master FastJSON 2.0: Maven Setup, Core APIs, and JSONPath Guide
Cognitive Technology Team
Cognitive Technology Team
Apr 21, 2022 · Backend Development

How to Debug Maven Builds Using Remote Debugging

This guide explains how to start Maven in debug mode, configure a remote debugger to connect on port 8000, and perform step‑by‑step debugging of Maven builds, including the necessary command line and IDE settings.

Build ToolsDebuggingIDE
0 likes · 1 min read
How to Debug Maven Builds Using Remote Debugging
Cognitive Technology Team
Cognitive Technology Team
Apr 21, 2022 · Backend Development

Resolving Maven Compilation Hang After Upgrading Spring Cloud from Java 8 to Java 11 and Dealing with Lombok @Builder.Default Issues

The article explains why a Spring Cloud project upgraded from Java 8 to Java 11 gets stuck during Maven compilation, shows how to enable detailed compiler logs with Maven‑compiler‑plugin settings, presents the lengthy compilation output, and advises cautious use of Lombok’s @Builder.Default to avoid similar hangs.

CompilationJava 11Lombok
0 likes · 12 min read
Resolving Maven Compilation Hang After Upgrading Spring Cloud from Java 8 to Java 11 and Dealing with Lombok @Builder.Default Issues
FunTester
FunTester
Apr 20, 2022 · Backend Development

Build a Simple Java gRPC Demo in 3 Easy Steps

This guide walks you through setting up a basic Java gRPC project by outlining required Maven dependencies, creating the .proto SDK, implementing a server with a custom service, building a client stub, and running a test to verify the end‑to‑end RPC call.

JavaMavenProtocol Buffers
0 likes · 9 min read
Build a Simple Java gRPC Demo in 3 Easy Steps
IT Xianyu
IT Xianyu
Mar 30, 2022 · Backend Development

How to Enable SpringBoot DevTools Hot Deployment, Use Lombok, and Configure Spring Configuration Processor

This article explains how to add SpringBoot DevTools for hot deployment, integrate Lombok to simplify JavaBean code, and configure the Spring Configuration Processor for property metadata, providing step‑by‑step instructions, IDE settings, and Maven dependency snippets for a smoother development experience.

Configuration ProcessorDevToolsHot Deployment
0 likes · 5 min read
How to Enable SpringBoot DevTools Hot Deployment, Use Lombok, and Configure Spring Configuration Processor
ELab Team
ELab Team
Mar 24, 2022 · Frontend Development

From JSP to Snowpack: Tracing the Evolution of Front‑End Engineering

This article chronicles the history of front‑end engineering—from the early stone‑age JSP/PHP era through Maven, Grunt, Webpack, and Snowpack—highlighting key tools, code examples, and future trends that have shaped modern front‑end development practices.

EngineeringMavenbuild-tools
0 likes · 12 min read
From JSP to Snowpack: Tracing the Evolution of Front‑End Engineering
Java High-Performance Architecture
Java High-Performance Architecture
Mar 19, 2022 · Backend Development

How to Speed Up Maven Archetype Project Creation with Internal Catalog

When generating Maven projects with the archetype plugin, developers often encounter long waits or failures; this guide explains four practical solutions—including adding the internal catalog parameter, setting VM options, using a local archetype‑catalog.xml, and configuring Maven mirrors—to accelerate project creation and avoid errors.

ArchetypeBuild ToolsJava
0 likes · 4 min read
How to Speed Up Maven Archetype Project Creation with Internal Catalog
Java Captain
Java Captain
Mar 15, 2022 · Backend Development

Why Enterprise Java Projects Turn Into Over‑Engineered Monsters

The article sarcastically critiques the over‑engineered nature of enterprise Java projects, illustrating how simple tasks become tangled in excessive classes, interfaces, factories, dependency‑injection frameworks, XML configurations, massive JARs, and IDE bloat, ultimately leading to deployment failures due to environment mismatches.

Design PatternsJavaMaven
0 likes · 5 min read
Why Enterprise Java Projects Turn Into Over‑Engineered Monsters
Programmer DD
Programmer DD
Mar 14, 2022 · Frontend Development

Unlock 60+ Handy JavaFX Tools for Rapid GUI Development

Despite limited online resources, this article presents a comprehensive collection of over 60 JavaFX utilities, setup instructions, and examples—including QR code generation, character escaping, and PDF conversion—to help developers quickly build and debug GUI applications.

GUIJavaFXMaven
0 likes · 4 min read
Unlock 60+ Handy JavaFX Tools for Rapid GUI Development
Architecture Digest
Architecture Digest
Mar 12, 2022 · Operations

Using Jenkins to Clone a Gitee Project, Build with Maven, and Deploy via Shell Scripts

This article walks through installing Jenkins, preparing the environment with JDK, Git, and Maven, configuring Jenkins plugins and a freestyle job, defining build parameters and shell scripts to clone a Gitee repository, build a Spring Boot jar with Maven, stop any running instance, and start the new application, followed by troubleshooting tips and a final summary.

CI/CDGiteeJenkins
0 likes · 6 min read
Using Jenkins to Clone a Gitee Project, Build with Maven, and Deploy via Shell Scripts
Java Interview Crash Guide
Java Interview Crash Guide
Mar 9, 2022 · Backend Development

How to Stop Maven Archetype from Hanging and Speed Up Project Creation

This guide explains why Maven archetype project creation often hangs or fails, and provides four practical solutions—including adding internal catalog parameters, configuring VM options, preparing a local archetype‑catalog.xml, and setting an Alibaba mirror—to speed up builds and avoid errors.

ArchetypeBuild ToolsDependency Management
0 likes · 4 min read
How to Stop Maven Archetype from Hanging and Speed Up Project Creation
Programmer DD
Programmer DD
Feb 28, 2022 · Operations

Automate Gitee Project Builds with Jenkins, Maven, and Shell Scripts

This guide walks through setting up Jenkins to clone a Gitee repository, configure Maven and Git plugins, define a parameterized freestyle job, and use shell scripts to build and launch a Spring Boot application, including troubleshooting steps for Maven path issues.

CI/CDGiteeJenkins
0 likes · 7 min read
Automate Gitee Project Builds with Jenkins, Maven, and Shell Scripts
Top Architect
Top Architect
Feb 20, 2022 · Backend Development

Using JMH for Java Microbenchmarking: Demo, Annotations, and Best Practices

This article introduces Java Microbenchmark Harness (JMH), explains why warm‑up is needed, shows how to build a benchmark project with Maven, provides a complete LinkedList iteration benchmark example with all relevant JMH annotations, demonstrates execution commands, and interprets the resulting performance reports.

JMHJavaMaven
0 likes · 13 min read
Using JMH for Java Microbenchmarking: Demo, Annotations, and Best Practices
Top Architect
Top Architect
Feb 7, 2022 · Backend Development

Using SpringBoot DevTools, Lombok, and Configuration Processor for Hot Reload and Property Binding

This article explains how to enable SpringBoot DevTools for hot deployment, integrate Lombok to simplify JavaBean code, and add the Spring Configuration Processor to provide property‑binding assistance, including Maven dependency snippets and IDE configuration steps for a smoother development experience.

ConfigurationProcessorDevToolsJava
0 likes · 6 min read
Using SpringBoot DevTools, Lombok, and Configuration Processor for Hot Reload and Property Binding
Java Architect Essentials
Java Architect Essentials
Feb 6, 2022 · Backend Development

SpringBoot DevTools, Lombok, and Configuration Processor: A Quick Guide for Hot Deployment and Code Simplification

This article introduces how to enable SpringBoot DevTools for hot deployment, integrate Lombok to reduce boilerplate code, and use the Spring Configuration Processor for property binding hints, providing Maven dependencies, IDE settings, and example code snippets for Java backend development.

ConfigurationProcessorDevToolsJava
0 likes · 6 min read
SpringBoot DevTools, Lombok, and Configuration Processor: A Quick Guide for Hot Deployment and Code Simplification
Top Architect
Top Architect
Jan 29, 2022 · Backend Development

Comprehensive Maven Tutorial: Installation, Configuration, Lifecycle, and Usage

This article provides a detailed step‑by‑step guide to Maven, covering why to use it, its core concepts, installation, creating a first project, repository coordinates, dependency scopes, lifecycle phases, Eclipse integration, advanced dependency features, and build configuration with code examples.

Build ToolDependency ManagementEclipse
0 likes · 15 min read
Comprehensive Maven Tutorial: Installation, Configuration, Lifecycle, and Usage
macrozheng
macrozheng
Jan 20, 2022 · Backend Development

Which Build Tool Reigns Supreme? Maven vs Gradle vs mvnd Performance Showdown

An in‑depth comparison of Maven, Gradle, and the Maven Daemon (mvnd) examines their features, configuration differences, and real‑world build performance on Spring Boot projects, revealing that Gradle delivers the fastest packaging times while offering simpler, more readable build scripts.

GradleJavaMaven
0 likes · 8 min read
Which Build Tool Reigns Supreme? Maven vs Gradle vs mvnd Performance Showdown
Architect's Journey
Architect's Journey
Jan 19, 2022 · R&D Management

How Business Companies Can Drive Technical Architecture Evolution: A Practical Case Study

The article details how a business‑oriented company built an architecture committee, secured leadership support, defined clear design principles, restructured a monolithic common package into modular base projects, and used concrete case studies and team‑wide promotion to successfully evolve its technical architecture.

Design PrinciplesJavaMaven
0 likes · 18 min read
How Business Companies Can Drive Technical Architecture Evolution: A Practical Case Study
Selected Java Interview Questions
Selected Java Interview Questions
Jan 16, 2022 · Backend Development

Introducing Maven‑mvnd: A Faster Maven Build Tool for Java Developers

This article introduces Maven‑mvnd, an Apache‑backed, GraalVM‑powered Maven alternative that speeds up Java builds through daemon processes and JVM optimizations, explains its installation (including Homebrew on macOS and JDK version considerations), demonstrates usage, and discusses performance benefits and known issues.

Build ToolsGraalVMJava
0 likes · 8 min read
Introducing Maven‑mvnd: A Faster Maven Build Tool for Java Developers
High Availability Architecture
High Availability Architecture
Jan 6, 2022 · Backend Development

Resolving Incompatible Jar Dependency Conflicts in Java Projects Using Maven Shade Plugin

This article discusses the challenges of incompatible Jar version conflicts in Java projects, explores classloader isolation approaches like Pandora and SOFAArk, and provides a step‑by‑step guide to using the Maven Shade Plugin to relocate and package conflicting Guava libraries into a custom wrapper jar.

Dependency ConflictJar IsolationJava
0 likes · 13 min read
Resolving Incompatible Jar Dependency Conflicts in Java Projects Using Maven Shade Plugin
Code Ape Tech Column
Code Ape Tech Column
Jan 1, 2022 · Backend Development

Introduction to Maven MVND: Features, Installation, and Usage

This article introduces Maven MVND, a native build daemon that embeds Maven for faster builds, outlines its key features, shows how to download and install version 0.7.1, demonstrates equivalent Maven commands using mvnd, and discusses its current performance and production readiness.

Build ToolInstallationJava
0 likes · 3 min read
Introduction to Maven MVND: Features, Installation, and Usage
Top Architect
Top Architect
Dec 29, 2021 · Backend Development

Comprehensive Maven Tutorial: Installation, Configuration, Lifecycle, Commands, and Eclipse Integration

This article provides a detailed, step‑by‑step guide to Maven, covering why to use it, its core concepts, installation, project structure, pom.xml configuration, common commands, dependency scopes, repository handling, lifecycle phases, Eclipse setup, advanced features, and build customization for Java backend development.

Build ToolDependency ManagementEclipse
0 likes · 15 min read
Comprehensive Maven Tutorial: Installation, Configuration, Lifecycle, Commands, and Eclipse Integration
Programmer DD
Programmer DD
Dec 27, 2021 · Backend Development

Boost Maven Build Speed with mvnd: GraalVM-Powered Daemon Explained

The article introduces mvnd, a GraalVM‑based Maven daemon that accelerates builds by reusing processes, leveraging JIT compilation, and supporting parallel execution, then details installation across Linux, macOS and Windows, configuration tips, and usage commands, showing how it narrows the performance gap with Gradle.

Build OptimizationGraalVMJava
0 likes · 7 min read
Boost Maven Build Speed with mvnd: GraalVM-Powered Daemon Explained
DeWu Technology
DeWu Technology
Dec 26, 2021 · Backend Development

Maven Dependency Conflict Avoidance Guide

This guide explains how Maven projects can detect, visualize, and resolve hidden dependency conflicts by using tools like mvn dependency:tree, understanding transitivity and the nearest‑wins rule, applying dependencyManagement, scopes, exclusions, optional dependencies, and best practices such as regular analysis and shading to prevent runtime errors.

Build ToolsConflict ResolutionDependency Management
0 likes · 23 min read
Maven Dependency Conflict Avoidance Guide
macrozheng
macrozheng
Dec 26, 2021 · Backend Development

Speed Up Maven Builds 10× with mvnd: GraalVM‑Powered Daemon Explained

This article introduces mvnd, a GraalVM‑based Maven daemon that runs as a persistent build service, explains how it achieves faster startup and parallel builds, and provides step‑by‑step installation, configuration, and usage instructions for Windows, macOS, and Linux.

GraalVMJavaMaven
0 likes · 7 min read
Speed Up Maven Builds 10× with mvnd: GraalVM‑Powered Daemon Explained
vivo Internet Technology
vivo Internet Technology
Dec 22, 2021 · Backend Development

Resolving Incompatible Jar Dependency Conflicts with Maven Shade Plugin

The article explains how incompatible JAR versions, such as differing Guava releases required by business code and middleware, can be resolved efficiently by using Maven Shade Plugin to relocate packages, offering a lightweight alternative to heavyweight class‑loader isolation solutions like Pandora or SOFAArk.

Classloader IsolationDependency ManagementJava
0 likes · 11 min read
Resolving Incompatible Jar Dependency Conflicts with Maven Shade Plugin
Programmer DD
Programmer DD
Dec 17, 2021 · Backend Development

How to Quickly Upgrade Log4j2 to 2.16.0 in Spring Boot Projects

This guide explains step‑by‑step how to upgrade Log4j2 to the secure 2.16.0 version in Spring Boot applications by adjusting Maven configurations, understanding parent POM inheritance, and overriding properties, ensuring a fast and reliable fix for the critical vulnerability.

MavenSpring Bootsecurity patch
0 likes · 5 min read
How to Quickly Upgrade Log4j2 to 2.16.0 in Spring Boot Projects
Top Architect
Top Architect
Dec 8, 2021 · Backend Development

Resolving Java Logging Framework Conflicts in SpringBoot and Dubbo Projects

This article explains why multiple Java logging frameworks often clash in SpringBoot and Dubbo applications, identifies common causes such as transitive dependencies and duplicate versions, and provides step‑by‑step Maven configurations and adaptation techniques to unify logging with SLF4J and Logback.

DubboJavaLogging
0 likes · 13 min read
Resolving Java Logging Framework Conflicts in SpringBoot and Dubbo Projects
Tech Musings
Tech Musings
Dec 4, 2021 · Backend Development

How Byte Buddy Powers Java Agents: Classloader Tricks and Dependency Solutions

This article explores using Byte Buddy to build Java agents, detailing the premain method, class loading mechanisms, handling dependency conflicts with Maven shade versus custom classloaders, and implementing a Dispatcher to bridge agent and application classloaders, providing practical code snippets and diagrams for each step.

Byte BuddyClassLoaderInstrumentation
0 likes · 9 min read
How Byte Buddy Powers Java Agents: Classloader Tricks and Dependency Solutions
macrozheng
macrozheng
Nov 27, 2021 · Backend Development

What’s New in Spring Boot 2.6.0? Key Features, Maven Dependencies, and Upgrade Guide

Spring Boot 2.6.0 arrives with a host of new features—including default circular‑reference protection, SameSite cookie support, reactive session enhancements, custom sanitizing rules, endpoint changes, Redis pool options, WebTestClient testing, Log4j2 composite configuration, numerous dependency upgrades, and several deprecations—plus updated Maven coordinates and version timelines for developers to consider before upgrading.

JavaMavenSpring Boot
0 likes · 11 min read
What’s New in Spring Boot 2.6.0? Key Features, Maven Dependencies, and Upgrade Guide
Code Ape Tech Column
Code Ape Tech Column
Nov 6, 2021 · Backend Development

Comprehensive Guide to Maven: Concepts, Build Lifecycle, Dependencies, and Plugins

This article provides a detailed overview of Maven, covering its purpose, core concepts such as coordinates and repositories, the build lifecycle phases, as well as dependency declarations and scopes, as well as plugin configuration, custom bindings, and advanced features like aggregation, inheritance, and profile-based builds.

Dependency ManagementJavaMaven
0 likes · 22 min read
Comprehensive Guide to Maven: Concepts, Build Lifecycle, Dependencies, and Plugins
Java High-Performance Architecture
Java High-Performance Architecture
Nov 5, 2021 · Backend Development

How to Build a SpringBoot + MyBatis Multi‑Module Project in IntelliJ IDEA

This guide walks through creating a SpringBoot and MyBatis multi‑module project in IntelliJ IDEA, covering environment setup, parent and child module creation, dependency configuration, bean scanning, MyBatis integration, and troubleshooting common startup errors, culminating in a runnable demo endpoint.

IntelliJ IDEAMavenMulti-module
0 likes · 13 min read
How to Build a SpringBoot + MyBatis Multi‑Module Project in IntelliJ IDEA
Top Architect
Top Architect
Nov 4, 2021 · Backend Development

Step‑by‑Step Guide to Building a SpringBoot + MyBatis Multi‑Module Project in IntelliJ IDEA

This tutorial walks through setting up a SpringBoot‑based multi‑module Maven project with MyBatis integration in IntelliJ IDEA, covering environment preparation, parent and child module creation, dependency configuration, package scanning, and verification of a simple REST endpoint, while highlighting common pitfalls and solutions.

IDEAJavaMaven
0 likes · 11 min read
Step‑by‑Step Guide to Building a SpringBoot + MyBatis Multi‑Module Project in IntelliJ IDEA
macrozheng
macrozheng
Nov 2, 2021 · Backend Development

Generate Zero‑Annotation API Docs with smart‑doc for SpringBoot

This tutorial shows how to replace Swagger with smart-doc, a zero‑annotation API documentation tool for SpringBoot that generates HTML docs and Postman collections, covering Maven plugin setup, configuration files, custom tags, error‑code mapping, request‑header definitions, and step‑by‑step usage examples.

JavaMavenPostman
0 likes · 10 min read
Generate Zero‑Annotation API Docs with smart‑doc for SpringBoot
Architect's Guide
Architect's Guide
Oct 28, 2021 · Backend Development

Core Features, Advantages, and Common Annotations of Spring Boot

This article provides an English overview of Spring Boot’s core functionalities—including standalone JAR execution, embedded servlet containers, starter POM simplification, auto‑configuration, production‑ready monitoring, and code‑free XML—while also discussing its pros and cons, key features, CLI tool, Maven parent, and commonly used annotations.

JavaMavenSpring Boot
0 likes · 5 min read
Core Features, Advantages, and Common Annotations of Spring Boot
Programmer DD
Programmer DD
Oct 23, 2021 · Fundamentals

Master Maven: 7 Essential Questions Every Java Developer Should Know

This article explains Maven's repository types, dependency declarations, version handling, conflict resolution strategies, best practices for early detection, standard directory layout, lifecycle phases, and scope definitions, providing a comprehensive guide for developers to master Maven in Java projects.

Build ToolDependency ManagementJava
0 likes · 10 min read
Master Maven: 7 Essential Questions Every Java Developer Should Know
政采云技术
政采云技术
Oct 19, 2021 · Backend Development

Debugging Maven Multi‑module Deployment Issues Caused by JDK Constant Compilation Optimization

This article analyzes a Maven multi‑module project where a static constant change in a shared API module caused unexpected Redis key errors at runtime due to JDK compile‑time constant folding, outlines the investigation steps, identifies the root cause, and provides best‑practice recommendations for version management.

Build OptimizationDebuggingJava
0 likes · 5 min read
Debugging Maven Multi‑module Deployment Issues Caused by JDK Constant Compilation Optimization
Programmer DD
Programmer DD
Oct 4, 2021 · Backend Development

Simplify Java Bean Mapping with MapStruct: A Practical Guide

This article introduces the open‑source MapStruct library for Java, shows how to configure Maven and Lombok, provides step‑by‑step code examples for basic and advanced entity‑to‑DTO mappings—including list conversions, multi‑object mappings, and default values—so developers can replace boilerplate conversion code with clean, type‑safe mappings.

LombokMavenbackend-development
0 likes · 10 min read
Simplify Java Bean Mapping with MapStruct: A Practical Guide
Programmer DD
Programmer DD
Oct 3, 2021 · Databases

Effortlessly Generate Database Schema Docs and Java Entities with Screw

This guide explains how to use the open‑source Screw tool to automatically produce database schema documentation in HTML, Word, or Markdown and to generate Java entity classes, offering step‑by‑step examples with Maven plugin and Java code configurations for MySQL, Oracle, and PostgreSQL.

Entity GenerationMavenMySQL
0 likes · 15 min read
Effortlessly Generate Database Schema Docs and Java Entities with Screw
Tech Musings
Tech Musings
Sep 21, 2021 · Backend Development

Migrating a Java Spring Microservice to Kotlin: Practical Steps and Pitfalls

This article shares a developer’s experience converting a Java Spring Boot microservice to Kotlin, covering why Kotlin is attractive, required Maven plugins and dependencies, code‑migration quirks such as open classes and @Jvm annotations, testing hurdles, and the final decision to revert to Java.

KotlinMavenSpring Boot
0 likes · 11 min read
Migrating a Java Spring Microservice to Kotlin: Practical Steps and Pitfalls
Java Captain
Java Captain
Sep 21, 2021 · Backend Development

Using MapStruct for Efficient Entity‑DTO Mapping in Java

This article introduces the open‑source MapStruct library for Java, showing how to configure Maven dependencies, define entity and DTO classes with Lombok, create mapper interfaces, and perform simple and advanced object conversions such as list mapping, multi‑object merging, and default value handling.

Entity MappingJavaLombok
0 likes · 9 min read
Using MapStruct for Efficient Entity‑DTO Mapping in Java
The Dominant Programmer
The Dominant Programmer
Sep 20, 2021 · Backend Development

Convert DOC to HTML with Spring Boot and OpenOffice: A Step-by-Step Guide

This guide walks through installing OpenOffice on a Windows server, launching its headless service, adding jodconverter dependencies to a Spring Boot project, configuring conversion settings, writing a controller to transform DOC files into HTML, and invoking the endpoint from a Vue front‑end, with troubleshooting tips.

Headless ServiceJavaMaven
0 likes · 7 min read
Convert DOC to HTML with Spring Boot and OpenOffice: A Step-by-Step Guide
Top Architect
Top Architect
Sep 2, 2021 · Backend Development

Spring Boot Packaging with Maven and Shell Deployment Script Guide

This article explains how to package a Spring Boot application using Maven profiles and the maven‑assembly‑plugin, generate a zip deployment package, and manage the deployment with a custom shell script that supports unzip, start, stop, and restart operations across different environments.

MavenPackagingShell script
0 likes · 13 min read
Spring Boot Packaging with Maven and Shell Deployment Script Guide
Selected Java Interview Questions
Selected Java Interview Questions
Sep 1, 2021 · Backend Development

Comprehensive Guide to Maven: Installation, Configuration, Commands, and Lifecycle

This article provides a detailed introduction to Maven, covering why to use it, its core concepts, installation steps, project structure, essential commands, dependency management, lifecycle phases, and integration with Eclipse, offering practical code examples and configuration snippets for Java developers.

Build ToolDependency ManagementEclipse
0 likes · 16 min read
Comprehensive Guide to Maven: Installation, Configuration, Commands, and Lifecycle
Architect's Tech Stack
Architect's Tech Stack
Aug 29, 2021 · Backend Development

Mastering Maven: 7 Essential Topics for Java Project Build Management

This article explains Maven’s repository types, dependency declaration, conflict resolution strategies, best‑practice tips, standard directory layout, lifecycle phases, and scope definitions, providing Java developers with the knowledge needed to use Maven confidently in multi‑module projects.

Build ToolDependency ManagementJava
0 likes · 10 min read
Mastering Maven: 7 Essential Topics for Java Project Build Management
DeWu Technology
DeWu Technology
Aug 20, 2021 · Backend Development

Guide to Avoiding Maven Dependency Conflicts

This guide explains how to detect, visualize, and resolve Maven dependency conflicts by using the dependency tree, understanding transitivity and the nearest‑wins rule, managing versions with dependencyManagement, applying scopes, exclusions, and optional flags, and following best practices such as centralizing versions in a parent POM and regularly running analysis tools.

Build ToolsConflict ResolutionDependency Management
0 likes · 23 min read
Guide to Avoiding Maven Dependency Conflicts
FunTester
FunTester
Aug 20, 2021 · Backend Development

Building a Distributed Load‑Testing Framework: Gradle Multi‑Module & Maven Tips

This article details the final updates to the DCS_FunTester distributed testing framework, covering Gradle multi‑module configuration, dependency handling, result aggregation, task dispatch, health‑check endpoints, and registration optimizations with practical code examples in Java and Maven.

Distributed TestingGradleJava
0 likes · 8 min read
Building a Distributed Load‑Testing Framework: Gradle Multi‑Module & Maven Tips