@Override
        protected String bundleResolutionErrorMessage(ComponentSpecification bundleSpec) {
            List<BsnVersion> activeBundles = applicationBundleLoader.activeBundlesBsnVersion();
            List<Version> activeVersions = activeVersionsOfBundle(bundleSpec, activeBundles);

            String versionsMessage = "";
            if (activeVersions.size() == 1) {
                versionsMessage = "There is an installed bundle with the same name with version: " + activeVersions.get(0) + " ";
            } else if (activeVersions.size() > 1) {
                versionsMessage = "There are installed bundles with the same name with versions: " + activeVersions + " ";
            }
            if (qualifierIsUsed(bundleSpec, activeVersions)) {
                versionsMessage += " Note that qualifier strings must be matched exactly. ";
            }
            return String.format("%sInstalled application bundles: [%s]",
                                 versionsMessage,
                                 activeBundles.stream()
                                         .map(BsnVersion::toReadableString)
                                         .collect(Collectors.joining(", ")));
        }
For internal use only.

@author Tony Vaagenes
@author gjoranv
container-core/src/main/java/com/yahoo/container/core/config/HandlersConfigurerDi.java