Category Archives: Eclipse

java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log, Eclipse Indigo


I’ve just finished installing the very latest Eclipse, the Indigo. I also would like to install the very latest plugin, too. I had installed some Mylyn connectors, the Eclipse install new software and check for update functions cannot be performed as it was mentioned at the <work_space>/.metadata/.log: –

java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V

Searching via Google

I’ve found some issue about the Eclipse which is similar to this before. It occur when I installed the Eclipse:  Spring IDE plugin in as mentioned in this post. I thought the root cause may be the conflict dependency again.

I had searched via Google by using the exception message as a keyword, I found this post which mention about the conflict/missed SFL4J and other related dependencies.

Try to fix

As it is mentioned at this post, I open the


I’ve found too many duplicated dependencies as the following: –

  1. The ch.qos.logback.classic
  2. The ch.qos.logback.core
  3. ch.qos.logback.slf4j
  4. org.slf4j.api

I comment the older version by adding the “#” sign at the begin of each line. Anyhow the error still occurs. After I’ve read this post, I’m quite sure that the root cause includes the org.slf4j.jcl. Then I comment it as well.

It’s fixed !!!

Even the Eclipse install new software and check for update functions can be performed as usual. I’m not 100% sure, if I may need to put the org.slf4j.jcl latest version manually to this configuration file or not. If there is any updated, I will update this post for sure. Please stay tuned as usual.

%d bloggers like this: