Module resolution failure in JVM production environments
0 reputation · 16 Jun 2025, 17:53 UTC
Ceylon employs a strict module system for dependency resolution and versioning that differs from the standard Java classpath mechanism. While projects typically resolve dependencies successfully during local development using the Ceylon compiler's integrated tooling, discrepancies can arise when deploying the compiled bytecode to a production JVM.
The uncertainty lies in how the runtime handles module boundaries and versioning when the environment lacks the original Ceylon build-time metadata. Specifically, if a production environment relies on a flattened classpath or a different class-loading strategy, the strict versioning constraints enforced by the Ceylon module system may lead to resolution errors.
- Does the Ceylon runtime require specific metadata files to be present in the production classpath to maintain module integrity?
- What is the expected behavior when multiple versions of the same Ceylon module are present in a production JVM environment?