directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ragnar Skulason (JIRA)" <>
Subject [jira] [Created] (DIRAPI-138) java.lang.LinkageError: loader constraint violation:
Date Tue, 07 May 2013 17:39:16 GMT
Ragnar Skulason created DIRAPI-138:

             Summary: java.lang.LinkageError: loader constraint violation:
                 Key: DIRAPI-138
             Project: Directory Client API
          Issue Type: Bug
    Affects Versions: 1.0.0-M17
         Environment: x64 linux, Atlassian Jira SDK, Spring, OSGi, Maven
            Reporter: Ragnar Skulason
            Priority: Critical

I was trying to use Apache Directory LDAP in an jira plugin, but I get this error:

java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;"
the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5)
of the current class, org/slf4j/LoggerFactory, and the class loader (instance of org/apache/catalina/loader/WebappClassLoader)
for resolved class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the
type org/slf4j/ILoggerFactory used in the signature
	at org.slf4j.LoggerFactory.getILoggerFactory(
	at org.slf4j.LoggerFactory.getLogger(
	at org.slf4j.LoggerFactory.getLogger(
	at org.apache.mina.core.service.IoHandlerAdapter.<clinit>(
	at com.consultingtoolsmiths.jira.samples.webwork.ActionAlpha.getLdapConnection(
	at com.consultingtoolsmiths.jira.samples.webwork.ActionAlpha.doDefault(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(
	at webwork.util.InjectionUtils.invoke(
	at webwork.action.ActionSupport.invokeCommand(
	at webwork.action.ActionSupport.execute(
	at com.atlassian.jira.action.JiraActionSupport.execute(

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message