AspectJ: ClassLoading issue when trying to use external aop.xml file

后端 未结 3 958
慢半拍i
慢半拍i 2021-01-06 09:46

I m trying to externalize the configuration of aop.xml so I removed the aop.xml from META-INF and made it available in the server for manual config

3条回答
  •  渐次进展
    2021-01-06 10:41

    If you need the feature to exclude classloaders from weaving with the agent approach, there is a developer build available providing a new command line switch -Daj.weaving.loadersToSkip to do that. The topic is being discussed on a thread of the AspectJ users mailing list. The feature will probably make it into AspectJ 1.7.4, but is not available in 1.7.3 yet.

    Update:

    The feature did make it into AspectJ 1.7.4 even though it is not explicitly mentioned in the release notes, but listed under resolved issues for that release.

提交回复
热议问题