Coder Social home page Coder Social logo

Comments (5)

andreparodi avatar andreparodi commented on June 13, 2024

I have same problem. Here is the stack trace on running gradle tomcatRun

Context [/LevelManager] startup failed due to previous errors Exception sending context destroyed event to listener instance of class org.springframework.web.context.ContextLoaderListener java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of org/gradle/util/MutableURLClassLoader) 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(LoggerFactory.java:273) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241) at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:156) at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685) at org.springframework.web.context.ContextCleanupListener.<clinit>(ContextCleanupListener.java:43) at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:144) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4721) at org.apache.catalina.core.StandardContext$4.call(StandardContext.java:5423) at org.apache.catalina.core.StandardContext$4.call(StandardContext.java:5402) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680)

from gradle-tomcat-plugin.

dbanerjee avatar dbanerjee commented on June 13, 2024

Hi Benjamin,

Is there any update on this issue?

from gradle-tomcat-plugin.

bmuschko avatar bmuschko commented on June 13, 2024

Sorry, no update yet. I didn't have much time to look into this. Feel free to investigate and come up with a solution. I appreciate any contributions.

from gradle-tomcat-plugin.

picodotdev avatar picodotdev commented on June 13, 2024

I had the same problem in a Tapestry application (tapestry 5.4-alpha-10, gradle 1.6, gradle-tomcat-plugin 0.9.8), I resolved the problem adding this dependency to build.gradle:

runtime "org.slf4j:slf4j-log4j12:1.7.2"

from gradle-tomcat-plugin.

bmuschko avatar bmuschko commented on June 13, 2024

Sounds like @picodotdev provided a solution. Closing this issue.

from gradle-tomcat-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.