Throw exception when duplicate class names are found when building autoloader classMap