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.*(..))
具体原因不太清楚,在官方文档中没有发现。
相关文章推荐
- 实现阻塞队列
- BIO、NIO、AIO
- 带界面的UDP聊天程序
- POJ 3349 (哈希)
- KissXML用法
- 从零開始学android<Menu菜单组件.三十.>
- Subversion代码提交中的org.apache.subversion.javahl.ClientException: svn: E200007: Commit failed异常解决
- win10下通过jconsole监控远程centos tomcat运行情况
- Spring MVC学习总结(1)——Spring MVC单元测试
- Spring MVC学习总结(1)——Spring MVC单元测试
- Spring MVC学习总结(1)——Spring MVC单元测试
- 系统时间校准工具
- 我国软件行业发展机遇与发展前景分析
- poj 2886 Who Gets the Most Candies?(线段树)
- Linux和Windows下ping命令详解(转:http://linux.chinaitlab.com/command/829332.html)
- MySQL分区的限制(最多有多少个分区)
- 通过 JDBC 驱动程序使用大容量复制
- 深度学习-自然语言模型
- faster-RCNN环境配置(Ubuntu14.04)
- Javascript中匿名函数的调用与写法实例详解(多种)