`
文章列表
为什么删除文件后磁盘空间还是不变   linux删除文件后没有释放空间   今天发现一台服务器的home空间满了,于是要清空无用的文件,当我删除文件后,发现可用空间没有变化   os:centos4.7   现象:   发现当前磁盘空间使用情况:   [root@ticketb ~]# df -h Filesystem            Size  Used Avail Use% Mounted on /dev/sda1             981M  203M  729M  22% / none                   16G     0   ...

Suspend validation

    博客分类:
  • Java
Build workspace 的时候,出现如下错误。   ----------------------------------------------------------------- Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'ha:converter-chain'. - schema_reference.4: Failed to r ...
internal repository是指在局域网内部搭建的repository,它跟central repository, jboss repository等的区别仅仅在于其URL是一个内部网址  mirror则相当于一个代理,它会拦截去指定的远程repository下载构件的请求,然后从自己这里找出构件回送 ...
阿里云镜像: http://mirrors.aliyun.com/  网易开源镜像站: http://mirrors.163.com/ 搜狐开源镜像站: http://mirrors.sohu.com/ 北京交通大学开源镜像站: http://mirror.bjtu.edu.cn 兰州大学开源软件镜像站: http://mirror.lzu.edu.cn/ 厦门大学开源软件镜像站: http://mirrors.xmu.edu.cn/ 上海交通大学开源软件镜像站: http://ftp.sjtu.edu.cn/ 清华大学开源软件镜像站: http://mirrors.tuna. ...

log4j error

Error info [9/18/14 12:28:43:968 HKT] 000001e1 SystemErr     R log4j:ERROR Attempted to append to closed appender named [hibernateDebugAppender].   发现有多个下面的setting. <logger name="org.hibernate.SQL" additivity="false"> <level value="ALL" /> <appender ...

Maven Related

1. Install m2Eclipse 要使用下面这个link. http://download.eclipse.org/technology/m2e/releases   apache-maven-3.2.3\lib\maven-model-builder-3.2.3.jar\org\apache\maven\model\pom-4.0.0.xml <repositories> <repository> <id>central</id> <name>Central Reposi ...

Spring head

    博客分类:
  • Java
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframewor ...

Joda-Time

    博客分类:
  • Java
http://www.joda.org/joda-time/   http://www.ibm.com/developerworks/cn/java/j-jodatime.html   package com.baidu.test; import java.util.Date; import org.joda.time.DateTime; import org.joda.time.format.DateTimeFormat; public class TestJodaTime { public static void main( ...

Maven

1. Connection timed out when getting artifacts from server repository. Case mvn archetype:create -X -s C:\Source_Control\apache-maven-3.2.3\conf\settings.xml   [WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from https://repo.maven.apache.org/maven2 was cached in the local rep ...
作者:George Ma 第一篇文章大概的介绍了一下Apache Maven以及它的下载和安装,并且运行了一个简单的示例。那么在对maven有了一点接触后,接下去的一步是要了解maven的核心概念,这样才能在使用maven的时候游刃有余。 接下来我 ...
作者:George Ma 写这个 maven 的入门篇是因为之前在一个开发者会的动手实验中发现挺多人对于 maven 不是那么了解,所以就有了这个想法。这个入门篇分上下两篇。本文着重动手,用 maven 来构建运行 hellow world 程序,体会一下不用任何 IDE ,只用 maven 是咋回事。然后下篇就讲解一下 maven 的核心概念。写这两篇文章特意回避了复杂的示例,也不使用 IDE ,目的是排除干扰,着重于 maven 本身。 本文的源代码可从这里下载。   Apache Maven 是做什么用的?   Maven 是一个项目管理和构建自动化工具。但是对于我们程序员来 ...

Books

软件架构师应该知道的97件事 数学之美

编程语言的分类

我们可以像下面这样定义它们之间的不同:   命令式编程:命令“机器”如何去做事情(how),这样不管你想要的是什么(what),它都会按照你的命令实现。 声明式编程:告诉“机器”你想要的是什么(what),让机器想出如何去做(how)。  大多数程序员考虑编程时,他们都要设想用于编写应用程序的 命令式样式和技术。最受欢迎的通用编程语言(包括 Python 和其它面向对象的语言)在样式上绝大多数都是命令式的。另一方面,也有许多编程语言是 声明性样式,包括函数语言和逻辑语言,还包括通用语言和专用语言。    让我们列出几个属于各个种类的语言。许多读者已经使用过这些工具中的许多工具 ...

Super tool - VBA

Public privateKey As String   Public puttyPath As String Public plinkPath As String Public winSCPPath As String Public pscpPath As String   Public Const instanceIdColNum As Integer = 6 Public Const svrColNum As Integer = 4 Public Const acctColNum As Integer = 5 Public Const lPathColNum As ...
J2EE主要用于创建可扩展的企业应用,包括13种核心技术规范:   1. JDBC(Java Database Connectivity,Java数据库连接) JDBC以一种统一的方式对各种各样的数据库进行存取,JDBC定义了4中不同的驱动程序:JDBC-ODBC桥、JDBC本地接口、JDBC网络接口和纯Java驱动。   2. JNDI(Java Naming and Directory Interface,Java命名和目录接口) JNDI用于名字和目录服务,提供了一致的接口来存取和操作企业级的资源,如DNS和本地文件系统等。
Global site tag (gtag.js) - Google Analytics