会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
vincent_duan
this is Duandingyang
首页
新随笔
管理
上一页
1
2
3
4
5
6
7
8
···
12
下一页
2016年8月12日
neo4j在linux下的安装
摘要: 1. Neo4j简介 Neo4j是一个用Java实现的、高性能的、NoSQL图形数据库。Neo4j 使用图(graph)相关的概念来描述数据模型,通过图中的节点和节点的关系来建模。Neo4j完全兼容ACID的事务性。Neo4j以“节点空间”来表达领域数据,相对于传统的关系型数据库的表、行和列来说,节
阅读全文
posted @ 2016-08-12 17:06 vincent_duan
阅读(1105)
评论(0)
推荐(0)
2016年8月11日
mongodb导入json文件
摘要: ./mongoimport -d ddy -c test --file ~/3valid-2invalid.json --jsonArray 因为导入的json是个 wikidata
阅读全文
posted @ 2016-08-11 16:38 vincent_duan
阅读(4942)
评论(0)
推荐(0)
mongodb 安装启动
摘要: 新建 /usr/local/mongodb/data文件夹,新建文件--logpath=/usr/local/mongodb/logs ./mongod --port 27017 --fork --dbpath=/usr/local/mongodb/data --logpath=/usr/local
阅读全文
posted @ 2016-08-11 16:18 vincent_duan
阅读(163)
评论(0)
推荐(0)
2016年8月9日
Junit4
摘要: /* * @Test:将一个普通的方法修饰成为一个测试方法 * @Test(expected=XX.class) * @Test(timeout=毫秒 ) * @BeforeClass:它会在所有的方法运行前被执行,static修饰 * @AfterClass:它会在所有的方法运行结束后被执行,st
阅读全文
posted @ 2016-08-09 15:54 vincent_duan
阅读(146)
评论(0)
推荐(0)
2016年8月8日
新建maven项目
摘要: 新建maven ,选择org.apache.maven.archetypes maven-archetype-webapp. 项目中src/main/webapp/index.jsp报错,原因是我们没有导入ServletApi,需要早pom.xml中添加Servlet依赖 <!-- https://
阅读全文
posted @ 2016-08-08 16:20 vincent_duan
阅读(162)
评论(0)
推荐(0)
Maven新建webapp项目报错Could not resolve artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:RELEASE
摘要: Windows-Preferences 在搜索框输入maven,点击下面的Archetypes >Add Remote Catalog...对应输入http://repo1.maven.org/maven2/archetype-catalog.xmlmaven_catalog然后点击OK再次创建ma
阅读全文
posted @ 2016-08-08 16:19 vincent_duan
阅读(5531)
评论(0)
推荐(1)
maven 新建项目时修改默认jre路径
摘要: 新建maven项目时,JRE System Library默认为J2SE-1.5 如果想修改为1.7,修改maven的settings.xml ,在profiles中添加 <profile> <id>jdk-1.7</id> <activation> <activeByDefault>true</a
阅读全文
posted @ 2016-08-08 15:33 vincent_duan
阅读(2405)
评论(0)
推荐(0)
maven pom.xml文件介绍
摘要: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P
阅读全文
posted @ 2016-08-08 14:33 vincent_duan
阅读(336)
评论(0)
推荐(0)
mybatis结合generator进行分页插件PluginAdapter开发
摘要: 使用org.mybatis.generator生成UserExample时,无法进行分页,使用下面这个类运行generator便可以生成分页相关的属性了 package org.mybatis.generator.plugin; import java.util.List; import org.m
阅读全文
posted @ 2016-08-08 10:58 vincent_duan
阅读(6050)
评论(0)
推荐(0)
2016年8月5日
mybatisGenerator 代码自动生成报错 Result Maps collection already contains value for BaseResultMap
摘要: 由于mybatis简单易学,比起Hibername来,更容易上手,代码也能自动生成。这几天研究了下代码自动生成的,参考: http://0609xiaohua.iteye.com/blog/1453570 但是把代码复制进来,运行了下,却跑不起来,报以下错误: Exception in thread
阅读全文
posted @ 2016-08-05 02:23 vincent_duan
阅读(4314)
评论(0)
推荐(2)
上一页
1
2
3
4
5
6
7
8
···
12
下一页