@@ -0,0 +1,447 @@
+package com.nway.spring.classwork;%0A%0Aimport org.springframework.util.ClassUtils;%0A%0Aimport javassist.ClassPool;%0Aimport javassist.LoaderClassPath;%0A%0A/**%0A * %0A * %0A * @author zdtjss@163.com%0A *%0A * @since 2015-08-11%0A */%0Apublic class ClassPoolCreator %7B%0A%0A%09public static ClassPool getClassPool() %7B%0A%0A%09%09ClassPool classPool = ClassPool.getDefault();%0A%0A%09%09classPool.appendClassPath(new LoaderClassPath(ClassUtils.getDefaultClassLoader()));%0A%0A%09%09return classPool;%0A%09%7D%0A%7D%0A

Create ClassPoolCreator.java