Gradle dependency Is not loaded with gradle tomcat plugin -


i have

compile 'org.slf4j:slf4j-jdk14:1.0' 

in dependencies, still getting

caused by: java.lang.noclassdeffounderror: org/slf4j/spi/loggerfactorybinder 

when running

gradle clean tomcatrun 

what wrong tomcat class loader?

has tomcatrun task got classpath compile?

configurations{     tomcatrun  }  dependecies{      compile 'org.slf4j:slf4j-jdk14:1.0'      tomcatrun configurations.compile }  tomcatrun{     classpath = configurations.tomcatrun  } 

Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

php - Improving script execution time -

How to provide Authorization & Authentication using Asp.net, C#? -