ITeye博客

T123012009065的博客

T123012009065 · 共 74 篇文章

学习JGroups总结

http://www.blogjava.net/swingboat/archive/2007/07/16/130565.html

2013-11-05 16:46 · 评论(0)

Linux中JDK1.6的安装和环境变量的配置方法

一、安装 创建安装目录,在/usr/java下建立安装路径,并将文件考到该路径下: # mkdir /usr/java 1、jdk-6u11-linux-i586.bin 这个是自解压的文件,在linux上安装如下: # chmod 755 jdk-6u11-linux-i586.bin # ./jdk-6u11-linux-i586.bin (注意,这个步骤一定要在jdk-6u11-linux-i586.bin所在目录下) 在按提示输入yes后,jdk被解压。 出现一行字:Do you aggree to the above license terms? [yes or no] 安装程序在…

2013-11-04 17:31 · 评论(0)

Oracle VM VirtualBox 虚拟机设置全屏与共享

虚拟机:VirtualBox (1) 要使用全屏和共享等功能需要为虚拟机安装增强功能>> 点击"设备"-->"安装增强功能" 桌面上会出现光驱图标, VBOXADDITIOINS_3.28_64453,如果没有也可以在media文件夹里面去找 (2)安装增强功能 打开它,找到里面的VBoxLinuxAdditions-x86.run 打开终端,进入到VBoxLinuxAdditions-x86.run 所在的目录: sudo sh VBoxLinuxAdditions-x86.run 运行丫的 到此,增强功能安装完毕,重启生效 (3)设置全屏 鼠标移动到屏幕右上角,点击最大化,窗口确实最大化…

2013-11-04 16:55 · 评论(0)

ubuntu如何切换中文语言及中文输入法

一般安装ubuntu的时候都是用默认的英语来安装,免得在安装的过程中下载 语言包(下载速度很慢)。安装玩之后又怎样切换呢 1.从system settings –>language support (我自己的是在system->administrator->language support)点击 install/remove languages 勾选 chinese(simplified) 点击apply changes 输入密码,等待下载安装。 安装完后重启N遍电脑,语言还是英文的,刚才只是下载了语言包,还需要切换系统语言 2.回到刚才 language support 的节目 在lang…

2013-11-04 16:38 · 评论(0)

linux下tomcat启动不了

2013-10-31 15:42:58 org.apache.catalina.core.StandardService stopInternal : Stopping service Catalina 2013-10-31 15:42:58 org.apache.coyote.AbstractProtocol stop : Stopping ProtocolHandler ["http-bio-8080"] 2013-10-31 15:42:58 org.apache.coyote.AbstractProtocol destroy : Destroying ProtocolHandler …

2013-10-31 16:52 · 评论(0)

MVN 构建项目时的一个问题--Could not resolve de pendencies for projec

错误的现场是下面这个样子: [INFO]recharge-dal......................................SUCCESS[0.940s] [INFO]recharge-service..................................FAILURE[0.060s] [INFO]recharge-front-web................................SKIPPED [INFO]-----------------------------------------------------------------------…

2013-10-31 15:07 · 评论(0)

spring mvc 返回json 乱码

在RequestMapping上加红色的部分就可以了。 @RequestMapping(value="getFailGoods.action",produces="application/json;charset=UTF-8" )

2013-10-21 17:06 · 评论(0)

jaxb 给子节点设置属性

先把子节点新建一个类。 如: @XmlRootElement public class URI { private String url; private String mimetype; @XmlValue public String getUrl() { return "<![CDATA[" + url+ "]]>"; } public void setUrl(String url) { this.url = url; } @XmlAttribute public String getMimetype() { return mimetype; } public void setMimet…

2013-10-21 11:35 · 评论(0)

com.sun.jersey.api.container.ContainerException: The ResourceConfig instance

这个如果没有写错包名什么的话,那就clean一下项目吧。

2013-10-17 16:33 · 评论(0)

pom.xml 中properties 在别的配置文件中读取不到的解决方法

<profiles> <profile> <id>dev</id> <properties> <db.driver>"oracle.jdbc.driver.OracleDriver"</db.driver> <db.url>"jdbc:oracle:thin:@192.168.2.2:1521:tt"</db.url> <db.username>"123123"</db.username> <db.password>"121355"</db.password> </properties> <activation> <os> <family>Windows</family> </os> </a…

2013-10-17 16:08 · 评论(0)

利用SecureCRT上传、下载文件(使用sz与rz命令)

利用SecureCRT上传、下载文件(使用sz与rz命令) 借助securtCRT,使用linux命令sz可以很方便的将服务器上的文件下载到本地,使用rz命令则是把本地文件上传到服务器。 其中,对于sz和rz的理解与记忆我用了如下的方法(很多时候容易搞混): sz中的s意为send(发送),告诉客户端,我(服务器)要发送文件 send to cilent,就等同于客户端在下载。 rz中的r意为received(接收),告诉客户端,我(服务器)要接收文件 received by cilent,就等同于客户端在上传。 记住一点,不论是send还是received,动作都是在服务器上发起的。我们习…

2013-10-16 11:19 · 评论(0)

访问jersey生存的wadl文件

主机端口+项目名+拦截的路径+application.wadl就可以了。 http://localhost:8080/restTest/rest/application.wadl

2013-10-15 11:03 · 评论(0)

spring mvc返回json格式错误

The resource identified by this request is only capable of generating respon 原来是json的包添加错误了 import net.sf.json.JSONObject; 而我之前添加的是org.json

2013-09-30 15:41 · 评论(0)

巨二错误总汇

1.tomcat启动不了,很大的可能是数据库没开。

2013-09-30 11:16 · 评论(0)

Connections could not be acquired from the underlying database!

1.数据库连接没写对 2.缺少驱动的jar包

2013-09-27 17:28 · 评论(0)