pom构建:[html]viewplaincopyprint?<modelVersion>4.0.0</modelVersion><groupId>com.x.redis</groupId><artifactId>springredis</artifactId><version>0.0.1-SNAPSHOT</version><dependencies><dependency><..
分类:
编程语言 时间:
2016-05-05 13:06:21
阅读次数:
349
一、Mybatis环境搭建及简单实例1.
新建web项目,添加依赖包:mybatis包、数据库驱动包(我使用的是mysql)、日志包(我使用的是log4j),由于我的是maven项目,
那么添加依赖包就简单了,直接在pom.xml添加依赖即可下载地址。pom.xml:<dependencies>
<!--添加junit-->
..
分类:
其他好文 时间:
2016-05-04 19:27:32
阅读次数:
169
写了一个Mybatis分页控件,在这记录一下使用方式。 在Maven中加入依赖: ? 1 2 3 4 5 6 7 8 9 <dependencies> ... <dependency> <groupId>com.github.miemiedev</groupId> <artifactId>mybat ...
分类:
编程语言 时间:
2016-05-03 17:49:04
阅读次数:
253
maven dependencies中并不会删除 以下方法maven dependencies中并不会删除,可能程序引入的时候,会去掉这种依赖(猜的) 解释: 就是说项目中要用到某一个a.jar包,通过maven引入了之后,也自动的导入了该jar包所依赖的包,这里就会存在一个问题, 如果a.jar包 ...
分类:
编程语言 时间:
2016-05-01 01:12:35
阅读次数:
207
一般一个父pom项目下面常常有好几个子pom项目模块,而且几个子模块依赖的很多jar包,比如groupId/artifactid/version都是相同的,这样有三个弊端: 造成jar包重复依赖 造成版本号重复依赖 升级某个版本号时,要修改好几个子模块 一、在父模块中定义全部dependencies ...
分类:
其他好文 时间:
2016-04-26 12:19:08
阅读次数:
99
xampp启动时显示的错误为: 10:40:18 [Apache] Error: Apache shutdown unexpectedly.10:40:18 [Apache] This may be due to a blocked port, missing dependencies, 10:40 ...
分类:
Web程序 时间:
2016-04-26 09:36:44
阅读次数:
309
Gradle Library Projects Gradle 项目可以依赖于其它组件。这些组件可以是外部二进制包,或者是其它的 Gradle 项目。在本例中, app/build.gradle 中有以下内容:dependencies {compile fileTree(dir: 'libs', in ...
分类:
移动开发 时间:
2016-04-25 00:56:20
阅读次数:
394
github下载源码 https://github.com/jp9000/obs-studio 还需要一个开发包 http://code.fosshub.com/OBS/download/dependencies.zip 环境:windows 7 64位系统 工具:cmake 2.8.12,vs20 ...
分类:
Windows程序 时间:
2016-04-22 11:59:21
阅读次数:
1380
Realm Javaversion 0.89.0
官方文档Getting StartedInstallation工程的build.gradle中添加buildscript {
repositories {
jcenter()
}
dependencies {
classpath "io.realm:realm-gradle-plugin:0....
分类:
编程语言 时间:
2016-04-20 07:11:35
阅读次数:
513
1.Unable to execute dex: Multiple dex files define 原因是有重复的jar包被引用,可以通过查看build path,尤其是Android Dependencies一是否有重复jar包被引用。 2.\attrs.xml:2:error: Found t ...
分类:
其他好文 时间:
2016-04-18 22:02:17
阅读次数:
109