log.debug("Loading verticles from classpath...");
}
loadJavaVerticles();
loadGroovyVerticles();
}
<BUG>private void loadJavaVerticles() {
@SuppressWarnings("unchecked")
Set<Class<Verticle>> verticleClasses = (Set<Class<Verticle>>) DeploymentScanner.getContextInstance(context)
.lookupSubtypes(Verticle.class);
for (Class<Verticle> verticleClass : verticleClasses) {
</BUG>
Deployment deployment = verticleClass.getAnnotation(Deployment.class);

log.debug("Loading verticles from classpath...");
}
loadJavaVerticles();
loadGroovyVerticles();
}
private void loadJavaVerticles() {
Set<Class<? extends Verticle>> verticleClasses = DeploymentScanner.getContextInstance(context).lookupSubtypes(Verticle.class);
for (Class<? extends Verticle> verticleClass : verticleClasses) {
Deployment deployment = verticleClass.getAnnotation(Deployment.class);
