![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
zq33312757
这个作者很懒,什么都没留下…
展开
-
Spring 之注解事务 @Transactional
spring 事务注解默认遇到throw new RuntimeException("...");会回滚需要捕获的throw new Exception("...");不会回滚// 指定回滚@Transactional(rollbackFor=Exception.class) public void methodName() { // 不会回滚转载 2015-05-22 10:26:42 · 234 阅读 · 0 评论 -
新版spring官网下载jar包
1.打开官网,地址:https://spring.io/2.点击:项目projects3.点击spring框架4.点击这个链接。5.找到Distribution Zip Files,点击连接;6.点击你所需要的版本7.点击xx-dist.zip;8.完成!原创 2016-01-11 10:30:02 · 341 阅读 · 0 评论 -
No grammar constraints (DTD or XML Schema) referenced in the document.
方法1关闭XML验证工具栏:windows => preferences => xml => xml files => validation => Indicate when no grammar is specified:选择Ignore即可。方法2添加 内容如下http://www.w3.org/2002/xmlspec/dtd/2.10/x翻译 2016-12-18 03:12:21 · 324 阅读 · 0 评论