11-17-2011 10:11 AM
public static Class<?> loadClass(String className) {
   Class<?> clazz = null;
   ClassLoader classLoader = getCustomClassLoader();
   
   // First exception in chain of classloaders will be used as cause when no class is found in any of them
   Throwable throwable = null;
   
   if(classLoader != null) {
     try {
       LOG.finest("Trying to load class with custom classloader: " + className);
            clazz = Class.forName(className, true, classLoader);
     } catch(Throwable t) {
       throwable = t;
     }
   }
…
clazz = Class.forName(className, true, classLoader);instead of directly calling classloader method:clazz = classLoader.loadClass(className);?08-21-2014 03:07 AM
useClassForNameClassLoading in class org.activiti.engine.ProcessEngineConfiguration set to true by defaultorg.activiti.engine.useClassForNameClassLoading with the same semantics08-30-2014 12:36 PM
09-24-2014 06:42 AM
09-24-2014 06:50 AM
10-23-2014 11:07 AM
10-24-2014 02:50 AM
10-25-2014 04:57 AM
01-19-2015 06:26 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.