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 炫谷 阅读(874) 评论(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 炫谷 阅读(26631) 评论(0) 推荐(1)


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3