dwr3遇上spring的事务管理出现Error

[color=red]dwr.xml:[/color]

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 3.0//EN" "http://getahead.org/dwr/dwr30.dtd">









[color=red]applicationContext.xml[/color]

<?xml version="1.0" encoding="UTF-8"?>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd">


[color=red]



tx:attributes




/tx:attributes
/tx:advice
aop:config


/aop:config[/color]




其中com.service.impl.NjhglServiceImpl是一个类,继承com.service.NjhglService这个接口.
当我在applicationContext.xml上不加入红色的内容时,是可以在页面上使用njhglService.js,但上加红色内容时,页面上只弹出一个Error的对话框,后台也不报错。
我项目用的是dwr3+spring2.0,不明白dwr遇上spring的事务管理为什么会出错。

通过spring改变代理类型,改为基于类的cglib代理:
< aop:config proxy-target-class="true">

或者换成dwr2.0.5