diff --git a/core/src/main/java/org/elasticsearch/bootstrap/JarHell.java b/core/src/main/java/org/elasticsearch/bootstrap/JarHell.java index c5346bf243d90..1959e5e81394b 100644 --- a/core/src/main/java/org/elasticsearch/bootstrap/JarHell.java +++ b/core/src/main/java/org/elasticsearch/bootstrap/JarHell.java @@ -140,7 +140,7 @@ static Set parseClassPath(String classPath) { URL url = PathUtils.get(element).toUri().toURL(); if (urlElements.add(url) == false) { throw new IllegalStateException("jar hell!" + System.lineSeparator() + - "duplicate jar on classpath: " + classPath); + "duplicate jar [" + element + "] on classpath: " + classPath); } } catch (MalformedURLException e) { // should not happen, as we use the filesystem API