Harriesh
8 years agoNew Contributor III
Slf4j Conflicts
Hi ,
After developing the custom snap and the deployment.
While running the snap , I am getting the below error.
In the package which I upload , there is third party jar which uses slfj logging.
If I have the slf4j api jar in the package it says the below error
org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of org/eclipse/jetty/webapp/WebAppClassLoader) of the current class,org/slf4j/LoggerFactory, and the class loader (instance of java/net/FactoryURLClassLoader) for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature, Reason: Snap failed unexpectedly and did not provide any reason
If I remove it , It says classDefinitionnotfound, Since the class could not be initiated because of missing slf4j jars.