2013年11月1日

摘要: spring的XML配置好之后,运行testNG还会出问题。搞定代码如下:/** * 基于Spring的服务层测试超类 * * @author chief */@ContextConfiguration(locations = { "classpath:conf/spring/spring-da.xml", "classpath:conf/spring/spring-res.xml" })@TransactionConfiguration(defaultRollback = false)public abstract class BaseTest ext 阅读全文

posted @ 2013-11-01 19:22 炫谷 阅读(862) 评论(0) 推荐(0) 编辑

摘要: 参考官方网站:http://maven.apache.org/plugins/maven-assembly-plugin/usage.html方法一:将pom.xml引入的jar包打到zip文件夹中 1、pom.xml的配置 maven-assembly-plugin 2.4 src/main/assembly/src.xml jar-with-dependencies make-assembly package sin... 阅读全文

posted @ 2013-11-01 19:13 炫谷 阅读(26584) 评论(0) 推荐(1) 编辑


Copyright © 2024 炫谷
Powered by .NET 8.0 on Kubernetes