Removing duplicate classpath entries for cloudwatch and autoscaling