Hi,

I am using tomcat 8.0.28. I am using a custom valve which has a dependency
for slf4j (slf4j jar in in tomcat/lib). I also has a set of webapps which
uses different versions of slf4j (those dependencies are in the WEB-INF/lib
of those webapps). Due to the different versions in tomcat/lib and webapps,
I am getting errors such as NoSuchMethodError.

Is it possible to restrict some classes being loaded for webapps? I am
trying to see whether it is possible to load the slf4j classes required for
the webapps from the slf4j jar in WEB-INF/lib only and not from the jar in
tomcat/lib.

Or is there any other recommended way to address this kind of problems?

Reply via email to