Tag: 加载时编织

我在spring使用加载时间编织。 如何在jetty中设置类加载器?

我在spring使用加载时间编织。 一切都适用于websphere,因为它有自己的类加载器,但我在开发模式下遇到麻烦,我使用嵌入式jetty。 如何在jetty中设置类加载器? 当我运行它时,我看到以下错误 [INFO] org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.springframework.context.weaving.AspectJWeavingEnabler#0’: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘loadTimeWeaver’: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.instrument.classloading.ReflectiveLoadTimeWeaver]: Constructor threw exception; nested exception is java.lang.IllegalStateException: ClassLoader [com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload$WebAppClassLoaderExtension] does NOT provide an ‘addTransformer(ClassFileTransformer)’ method.