发行说明中的公理1.2.15发行状态:
The implementation JARs (axiom-impl and axiom-dom) are now built with AspectJ (to reduce source code duplication) and contain a small subset of classes from the AspectJ runtime library. There is a small risk that this may cause conflicts with other code that uses AspectJ.
嗯,这确实在我的AspectJ 1.9.2项目中引起了问题。 Maven抱怨:
09:35:12,617 [WARNING] Found duplicate and different classes in [org.apache.ws.commons.axiom:axiom-dom:1.2.21, org.apache.ws.commons.axiom:axiom-impl:1.2.21, org.aspectj:aspectjrt:1.9.2, org.aspectj:aspectjweaver:1.9.2]:
09:35:12,619 [WARNING] org.aspectj.lang.annotation.Aspect
我不能将Axiom排除在我们的项目之外,因为它已被Axis引入。是否有不包含AspectJ类的Axiom发行版,或者我需要构建自己的一个类?