package com.logzc.webzic.util;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * This is the class for loading classes.
 * Created by lishuang on 2016/7/7.
 */
public class ClassUtil {
    private static final Logger logger = LoggerFactory.getLogger(ClassUtil.class);

    public static ClassLoader getClassLoader(){
        logger.debug("get ClassLoader");
        return Thread.currentThread().getContextClassLoader();
    }


}

@@ -437,11 +437,379 @@
 %0A    %7D%0A%0A
+    public static Class%3C?%3E loadClass(String className,boolean isInitialized)%7B%0A%0A        Class%3C?%3E clazz;%0A        try%7B%0A            clazz=Class.forName(className,isInitialized,getClassLoader());%0A        %7Dcatch (ClassNotFoundException e) %7B%0A            logger.debug(%22Cannot find %22+className);%0A            throw new RuntimeException();%0A        %7D%0A        return clazz;%0A    %7D%0A%0A
 %0A%7D%0A

Add a method.