Skip to content

Commit

Permalink
WELD-1594 Better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jharting committed Mar 18, 2014
1 parent 4358054 commit 7549679
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -32,7 +32,7 @@ public DefaultDiscoveryStrategy(ResourceLoader resourceLoader, Bootstrap bootstr

@Override
protected WeldSEBeanDeploymentArchive processAnnotatedDiscovery(BeanArchiveBuilder builder) {
throw new IllegalStateException("Cannot handle Annotated bean discovery.");
throw new IllegalStateException("bean discovery-mode=\"annotated\" support is disabled. Add org.jboss:jandex to the classpath to enable it.");
}

}

0 comments on commit 7549679

Please sign in to comment.