Spring IllegalAccessException after isolating a module in a separate ClassLoader
问题 I have had a problem involving jar clash between incompatible versions of BouncyCastle. We have solved it by creating a bean that, using a Spring-defined ClassLoader bean injected as property, invokes services from classes not stored in official WEB-INF/lib folder. Following are the beans definitions <bean id="metainfJarClassloader" class="com.jdotsoft.jarloader.JarClassLoaderFactory" factory-method="create"/> <bean id="jadesFactory" class="it.csttech.proxy.jades.JadesFactory"> <constructor