
Spring
zq33312757
这个作者很懒,什么都没留下…
展开
-
Spring 之注解事务 @Transactional
spring 事务注解 默认遇到throw new RuntimeException("...");会回滚 需要捕获的throw new Exception("...");不会回滚 // 指定回滚 @Transactional(rollbackFor=Exception.class) public void methodName() { // 不会回滚转载 2015-05-22 10:26:42 · 263 阅读 · 0 评论 -
新版spring官网下载jar包
1.打开官网,地址:https://spring.io/ 2.点击:项目projects 3.点击spring框架 4.点击这个链接。 5.找到Distribution Zip Files,点击连接; 6.点击你所需要的版本 7.点击xx-dist.zip; 8.完成!原创 2016-01-11 10:30:02 · 380 阅读 · 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 · 357 阅读 · 0 评论