|
|
|
|
|
by MrBuddyCasino
3482 days ago
|
|
The JVM can't handle multiple versions of the same jar, as there is only one classpath. A depends on B and C, which in turn depend on incompatible versions of D. Congrats, you're screwed, unless you're running in an OSGi container. The only reason this seldom a problem in Java land is because many popular core Java libs, including the whole frickin standard library and all the official extended specs like servlet maintain backwards compatibility, and the successful core libs do too (Guava, commons-whatever). They do what he preaches.
Bam, successful platform! |
|
It certainly can be. Especially in monolith code bases where you can fix everything you broke.
As a platform, though, it is very frustrating.