我有一个部署在Websphere 8.5上的应用程序,类加载被配置为“父级最后一个”。在应用程序中,我们使用GroovyScriptEngine运行一个groovy脚本文件。脚本文件中,我们使用:以加载外部但它会导致错误:
groovy.lang.MissingMethodException: No signature of
我试图在运行时切换类加载程序: public static void main(String[] args) throws Exception {(); Class c = classLoader.loadClass("classloader.TestProxy"的类,它应该在询问它的父类之前加载修改过的类</e