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
Post a Comment