org.apache.commons.discovery.DiscoveryException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I tried to use slf4j together with axis. Therefore I use slf4j 1.5.8 (inclusive jcl-over-slf4j-1.5.8.jar), axis 1.4 and logback 0.9.16. But when I start my tomcat I get an exception. I read, there was a similar exception in the past which was fixed within the jcl104-over-slf4j.jar in 2006. But I couldn't find anything about my concrete problem. So I thought this problem could also be fixed here. org.apache.commons.discovery.DiscoveryException: Class org.apache.commons.logging.impl.SLF4JLogFactory does not implement org.apache.commons.logging.LogFactory at org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:180) [commons-discovery-0.2.jar:0.2] at org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:201) [commons-discovery-0.2.jar:0.2] at org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:195) [commons-discovery-0.2.jar:0.2] at org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:579) [commons-discovery-0.2.jar:0.2] at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:418) [commons-discovery-0.2.jar:0.2] at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378) [commons-discovery-0.2.jar:0.2] at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45) [axis.jar:na] at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_11] at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41) [axis.jar:na] at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33) [axis.jar:na] at org.apache.axis.transport.http.AxisServlet.<clinit>(AxisServlet.java:75) [axis.jar:na] at java.lang.Class.forName0(Native Method) [na:1.6.0_11] at java.lang.Class.forName(Class.java:169) [na:1.6.0_11] at org.apache.axis.transport.http.AxisServletBase.class$(AxisServletBase.java:59) [axis.jar:na] at org.apache.axis.transport.http.AxisServletBase.<clinit>(AxisServletBase.java:58) [axis.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_11] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_11] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_11] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_11] at java.lang.Class.newInstance0(Class.java:355) [na:1.6.0_11] at java.lang.Class.newInstance(Class.java:308) [na:1.6.0_11] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1115) [catalina.jar:na] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992) [catalina.jar:na] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058) [catalina.jar:na] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371) [catalina.jar:na] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [catalina.jar:na] at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) [catalina.jar:na] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [catalina.jar:na] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) [catalina.jar:na] at org.apache.catalina.core.StandardService.start(StandardService.java:516) [catalina.jar:na] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [catalina.jar:na] at org.apache.catalina.startup.Catalina.start(Catalina.java:578) [catalina.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_11] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_11] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) [bootstrap.jar:na] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) [bootstrap.jar:na]
    via by Matthias,
  • I tried to use slf4j together with axis. Therefore I use slf4j 1.5.8 (inclusive jcl-over-slf4j-1.5.8.jar), axis 1.4 and logback 0.9.16. But when I start my tomcat I get an exception. I read, there was a similar exception in the past which was fixed within the jcl104-over-slf4j.jar in 2006. But I couldn't find anything about my concrete problem. So I thought this problem could also be fixed here. org.apache.commons.discovery.DiscoveryException: Class org.apache.commons.logging.impl.SLF4JLogFactory does not implement org.apache.commons.logging.LogFactory at org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:180) [commons-discovery-0.2.jar:0.2] at org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:201) [commons-discovery-0.2.jar:0.2] at org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:195) [commons-discovery-0.2.jar:0.2] at org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:579) [commons-discovery-0.2.jar:0.2] at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:418) [commons-discovery-0.2.jar:0.2] at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378) [commons-discovery-0.2.jar:0.2] at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45) [axis.jar:na] at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_11] at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41) [axis.jar:na] at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33) [axis.jar:na] at org.apache.axis.transport.http.AxisServlet.<clinit>(AxisServlet.java:75) [axis.jar:na] at java.lang.Class.forName0(Native Method) [na:1.6.0_11] at java.lang.Class.forName(Class.java:169) [na:1.6.0_11] at org.apache.axis.transport.http.AxisServletBase.class$(AxisServletBase.java:59) [axis.jar:na] at org.apache.axis.transport.http.AxisServletBase.<clinit>(AxisServletBase.java:58) [axis.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_11] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_11] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_11] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_11] at java.lang.Class.newInstance0(Class.java:355) [na:1.6.0_11] at java.lang.Class.newInstance(Class.java:308) [na:1.6.0_11] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1115) [catalina.jar:na] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992) [catalina.jar:na] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058) [catalina.jar:na] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371) [catalina.jar:na] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [catalina.jar:na] at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) [catalina.jar:na] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [catalina.jar:na] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) [catalina.jar:na] at org.apache.catalina.core.StandardService.start(StandardService.java:516) [catalina.jar:na] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [catalina.jar:na] at org.apache.catalina.startup.Catalina.start(Catalina.java:578) [catalina.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_11] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_11] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) [bootstrap.jar:na] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) [bootstrap.jar:na]
    via by Matthias,
  • I have Jira plugin 1.29. I executed my job that is cofigured to use Update relevant JIRA issue and it is produce the error: ERROR: Publisher hudson.plugins.jira.JiraIssueUpdater aborted due to exception java.lang.ExceptionInInitializerError at org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43) at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.<init>(Service.java:113) at hudson.plugins.jira.soap.JiraSoapServiceServiceLocator.<init>(JiraSoapServiceServiceLocator.java:12) at hudson.plugins.jira.JiraSite.createSession(JiraSite.java:141) at hudson.plugins.jira.Updater.perform(Updater.java:68) at hudson.plugins.jira.JiraIssueUpdater.perform(JiraIssueUpdater.java:29) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685) at hudson.model.Run.execute(Run.java:1765) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:233) Caused by: org.apache.commons.discovery.DiscoveryException: Class org.apache.commons.logging.impl.SLF4JLogFactory does not implement org.apache.commons.logging.LogFactory at org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:135) at org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:156) at org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:150) at org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:534) at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:373) at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:333) at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41) at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33) ... 16 more Finished: FAILURE What is the problem? Thanks and regards.
    via by María García,
    • org.apache.commons.discovery.DiscoveryException: Class org.apache.commons.logging.impl.SLF4JLogFactory does not implement org.apache.commons.logging.LogFactory at org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:180)[commons-discovery-0.2.jar:0.2] at org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:201)[commons-discovery-0.2.jar:0.2] at org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:195)[commons-discovery-0.2.jar:0.2] at org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:579)[commons-discovery-0.2.jar:0.2] at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:418)[commons-discovery-0.2.jar:0.2] at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378)[commons-discovery-0.2.jar:0.2] at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)[axis.jar:na] at java.security.AccessController.doPrivileged(Native Method)[na:1.6.0_11] at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)[axis.jar:na] at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)[axis.jar:na] at org.apache.axis.transport.http.AxisServlet.<clinit>(AxisServlet.java:75)[axis.jar:na] at java.lang.Class.forName0(Native Method)[na:1.6.0_11] at java.lang.Class.forName(Class.java:169)[na:1.6.0_11] at org.apache.axis.transport.http.AxisServletBase.class$(AxisServletBase.java:59)[axis.jar:na] at org.apache.axis.transport.http.AxisServletBase.<clinit>(AxisServletBase.java:58)[axis.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.6.0_11] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)[na:1.6.0_11] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)[na:1.6.0_11] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)[na:1.6.0_11] at java.lang.Class.newInstance0(Class.java:355)[na:1.6.0_11] at java.lang.Class.newInstance(Class.java:308)[na:1.6.0_11] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1115)[catalina.jar:na] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)[catalina.jar:na] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)[catalina.jar:na] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)[catalina.jar:na] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)[catalina.jar:na] at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)[catalina.jar:na] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)[catalina.jar:na] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)[catalina.jar:na] at org.apache.catalina.core.StandardService.start(StandardService.java:516)[catalina.jar:na] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)[catalina.jar:na] at org.apache.catalina.startup.Catalina.start(Catalina.java:578)[catalina.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_11] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_11] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)[bootstrap.jar:na] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)[bootstrap.jar:na]

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,