我看到了所有与spring world有关的问题,但是在这个特殊的情况下,两者都帮不了我(I am using annotation way )
这些是我的配置文件:
web.xmlxsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd-4.
根据Spring配置文件,我需要一个可配置的事务超时。因此,我想使用Spring设置tx:advice/tx:attributes/tx:method/@timeout。如果我在默认(Bean)名称空间中对标记的属性做了类似的设置,而不是在tx命名空间中,它可以很好地工作。看起来,模式验证在属性替换之前运行,或者这里根本没有替换:
Line 21 in XML document from class path resour