LinkageError when loading in tomcat8.5

Issue #986 closed
Scoopta
created an issue

I just upgraded to v1.6 and now when I start my server tomcat fails to deploy scm-manager with a LinkageError

Caused by: java.lang.LinkageError: loader constraint violation: when resolving overridden method "ch.qos.logback.core.joran.event.SaxEventRecorder.warning(Lorg/xml/sax/SAXParseException;)V" the class loader (instance of org/apache/catalina/loader/ParallelWebappClassLoader) of the current class, ch/qos/logback/core/joran/event/SaxEventRecorder, and its superclass loader (instance of <bootloader>), have different Class objects for the type org/xml/sax/SAXParseException used in the signature
    at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:150)
    at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110)
    at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53)
    at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
    at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
    at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
    at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
    at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
    at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
    at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:412)
    at ch.qos.logback.classic.util.StatusViaSLF4JLoggerFactory.addStatus(StatusViaSLF4JLoggerFactory.java:32)
    at ch.qos.logback.classic.util.StatusViaSLF4JLoggerFactory.addInfo(StatusViaSLF4JLoggerFactory.java:20)
    at ch.qos.logback.classic.servlet.LogbackServletContainerInitializer.onStartup(LogbackServletContainerInitializer.java:32)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5196)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    ... 14 more

Comments (1)

  1. Log in to comment