Axiom 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发行版,或者我需要构建自己的Axiom发行版?
发布于 2019-05-05 06:15:35
这将是Axiom 1.2.23中的fixed。
https://stackoverflow.com/questions/55421992
复制相似问题