zhangchu1021 / flickrj-android

Automatically exported from code.google.com/p/flickrj-android
Other
0 stars 0 forks source link

Embedded packaging of slf4j interfaces causes problems with Spring #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Include both flickrj-android and Spring into the same project
2. Setup a basic spring context and run the application/test class.
3.

What is the expected output? What do you see instead?

Don't blow up on 

Exception in thread "main" java.lang.NoSuchMethodError: 
org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava
/lang/String;Ljava/lang/Throwable;)V
    at org.apache.commons.logging.impl.SLF4JLocationAwareLog.info(SLF4JLocationAwareLog.java:159)
    at org.springframework.context.support.AbstractApplicationContext.prepareRefresh(AbstractApplicationContext.java:456)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:394)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)

What version of the product are you using? On what operating system?
Spring 3.0.5 and flickrj-android 1.0.3.20120619135416

Please provide any additional information below.

Original issue reported on code.google.com by jashat...@gmail.com on 10 Jul 2012 at 12:27

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Please delete this issue.  I found that the issue was related to something 
else. Sorry for the false alarm.

Original comment by jashat...@gmail.com on 10 Jul 2012 at 2:30