Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82389

Java error due to slf4j dependancies

$
0
0

For my mendix project I am busy implementing push notifications using pushy. These libraries have a dependancy on the slf4j version 1.7.6 which I tried to add to the build path using eclipse.

However, when running my Mendix application I get the following fatal error:

java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature

 

Leaving out the slf4j dependacie out gives a different ClassNotFoundException.

 

Any idears on how to fix this?

 

 


Viewing all articles
Browse latest Browse all 82389

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>