摘要: @RunWith(SpringJUnit4ClassRunner.class) @SpringApplicationConfiguration(classes = Application.class) @WebAppConfiguration @ActiveProfiles("dev,common,system") public class BaseTest { @Autowired ... 阅读全文
posted @ 2016-11-23 17:36 luneng-gcc 阅读(2085) 评论(0) 推荐(0) 编辑
摘要: 1. complie (default) , transitive 2. provided ,container,no transtive,in instance : 3. runtime,userd in run and test 4. test, only used int test 5. sy 阅读全文
posted @ 2016-04-21 11:09 luneng-gcc 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 参考文章:http://blog.csdn.net/isea533/article/details/50449907 阅读全文
posted @ 2016-04-14 15:43 luneng-gcc 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 1.下载定时器生成工具,百度搜索:cron生成器下载 2.搭建maven war 项目 pom.xml 部分代码 web.xml applicationContext.xml 测试类BaseJobs maven buid形成war包 部署到tomcat等容器中,查看日志,ok! 阅读全文
posted @ 2016-04-06 15:24 luneng-gcc 阅读(1094) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/unixpro/article/details/47302855 阅读全文
posted @ 2016-03-30 11:56 luneng-gcc 阅读(302) 评论(0) 推荐(0) 编辑
摘要: <dependencies> <dependency> <groupId>org.mongodb</groupId> <artifactId>mongodb-driver</artifactId> <version>3.2.2</version> </dependency> <dependency> 阅读全文
posted @ 2016-03-25 11:44 luneng-gcc 阅读(3876) 评论(0) 推荐(0) 编辑
摘要: 官方给出的链接地址:https://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat/ 安装后重要的日志 win10 上使用mongochef连接不上数据库 解决方案: 修改 /etc/mongod.conf 将bindIP 改为 阅读全文
posted @ 2016-03-24 11:53 luneng-gcc 阅读(129) 评论(0) 推荐(0) 编辑