resthub / springmvc-router

Adds route mapping capacity to any "Spring MVC based" webapp. Uses playframework.org Router implementation.
http://resthub.github.com/springmvc-router/
Other
167 stars 63 forks source link

Use the slf4j-api to perform logging #49

Closed DCKcode closed 11 years ago

DCKcode commented 11 years ago

I'm using springmvc-router in my project and I get an SLF4J conflict with my own app when including its dependency: SLF4J: Class path contains multiple SLF4J bindings.. This happens because there is an SLF4J implementation on my own classpath, and one is a dependency of springmvc-router to use log4j.

SLF4J recommends that libraries simply depend on the slf4j-api and let the client applications configure SLF4J and what kind of backend they want.

bclozel commented 11 years ago

I think it's been fixed in the latest snapshot version (see issue #40 ). Could you check with 1.1.1-SNAPSHOT ?

DCKcode commented 11 years ago

Oops, that's right. Thanks, it works.

bclozel commented 11 years ago

I'll try to close a couple of issues - and then I'll release the 1.1.1 version. Let me know if you want something shipped in the next release. Thanks for your feedback!