[JAVA] Uncertainty of common Jar for multiple versions

Recently, when releasing a project, there was a problem with multiple versions of the common jar. I will post it.

Symptom: When running on a server, a system error occurs and nothing appears in the log. Same source, no problem on another server Cause: There are two Jar, commons-lang.jar, and commons-lang-2.0.jar that use StringUtils. Uncertainty made it uncertain which JAVA would use.

Workaround: Delete the old version to force the latest version

Recommended Posts

Uncertainty of common Jar for multiple versions
Sample source code for finding the least common multiple of multiple values in Java
Manage multiple versions of Ruby on Mac [macOS + rbenv]
Registration of multiple WebMvcConfigurers
Using multiple versions of Java with Brew on Mac + jEnv