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