Spring AOP 切入点组合在 JBoss 中不起作用

Spring AOP Pointcut composition does not work in JBoss

我有以下 AOP 切入点:

<aop:config>
     <aop:pointcut id="myPointcut"
        expression="execution(* com.company.IModule..*(..))
        and !execution(* com.company.IModule.getMethod1(..))" />
    <aop:advisor advice-ref="txAdvice" pointcut-ref="myPointcut" />  
</aop:config>

这在 Weblogic 中有效,但在 JBoss 中失败,例外情况是:

java.lang.IllegalArgumentException: warning no match for this type name: com.company.IModule [Xlint:invalidAbsoluteTypeName]

我尝试将 'and' 替换为“&&”根据 this answer 但结果是一样的。

如果我删除组合并只留下一个执行语句,它就可以正常工作。

JBoss EAP 6.4.0
网络逻辑 10.3.6
Java1.7.0_51
Spring3.2.8

原来Weblogic不区分大小写,但是JBoss只接受大写'AND'.