您的位置:首页 > 其它

ARNING NO MATCH FOR THIS TYPE NAME XLINT:INVALIDABSOLUTETYPENAME

2016-01-26 11:51 597 查看
下面的代码报上面的错误:
<tx:advice id="transactionAdvice" transaction-manager="transactionManager">
<tx:attributes>
<tx:method name="*" propagation="REQUIRED" isolation="DEFAULT" rollback-for="BeanException"/>
</tx:attributes>
</tx:advice>

<aop:config>
<aop:pointcut id="beanPointcut" expression="execution(* eu.trade.eutn2.backend.bean.business.*BeanImpl (..))"/>
<aop:advisor advice-ref="transactionAdvice" pointcut-ref="beanPointcut"/>
</aop:config>
原因是aop:pointcut的expression部分写错,应该是
* eu.trade.eutn2.backend.bean.business.*BeanImpl.*(..))
具体原因不太清楚,在官方文档中没有发现。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: