Skip to content

Commit

Permalink
Fix add ExceptionMapper provider
Browse files Browse the repository at this point in the history
  • Loading branch information
jimma authored and asoldano committed Nov 20, 2017
1 parent 6a768bb commit d691246
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -163,7 +163,7 @@ private static void setProviders(JAXRSServerFactoryBean bean, JAXRSDeploymentMet
try {
for (String cl : md.getScannedProviderClasses()) {
Class<?> clazz = classLoader.loadClass(cl);
providers.add((ApplicationInfo)createSingletonInstance(clazz, bus));
providers.add(createSingletonInstance(clazz, bus));
}
} catch (ClassNotFoundException cnfe) {
throw new WSFException(cnfe);
Expand Down

0 comments on commit d691246

Please sign in to comment.