- 浏览: 55281 次
-
最新评论
文章列表
http://www.blogjava.net/swingboat/archive/2007/07/16/130565.html
- 2013-11-05 16:46
- 浏览 423
- 评论(0)
一、安装
创建安装目录,在/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
- 浏览 583
- 评论(0)
虚拟机:VirtualBox
(1) 要使用全屏和共享等功能需要为虚拟机安装增强功能>> 点击"设备"-->"安装增强功能" 桌面上会出现光驱图标,
VBOXADDITIOINS_3.28_64453,如果没有也可以在media文件夹里面去找
(2)安装增强功能 打开它,找到里面的VBoxLinuxAdditions-x86.run 打开终端,进入到VBoxLinuxAdditions-x86.run
所在的目录: sudo sh VBoxLinuxAdditions-x86.run ...
- 2013-11-04 16:55
- 浏览 1942
- 评论(0)
一般安装ubuntu的时候都是用默认的英语来安装,免得在安装的过程中下载 语言包(下载速度很慢)。安装玩之后又怎样切换呢
1.从system settings –>language support (我自己的是在system->administrator->language support)点击 install/remove languages 勾选 chinese(simplified) 点击apply changes 输入密码,等待下载安装。
安装完后重启N遍电脑,语言还是英文的,刚才只是下载了语言包,还需要切换系统语言
2.回到刚才 language ...
- 2013-11-04 16:38
- 浏览 1291
- 评论(0)
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 Pro ...
- 2013-10-31 16:52
- 浏览 502
- 评论(0)
错误的现场是下面这个样子:
[INFO]recharge-dal......................................SUCCESS[0.940s]
[INFO]recharge-service..................................FAILURE[0.060s]
[INFO]recharge-front-web................................SKIPPED
[INFO]----------------------------------------------------------- ...
- 2013-10-31 15:07
- 浏览 1246
- 评论(0)
在RequestMapping上加红色的部分就可以了。
@RequestMapping(value="getFailGoods.action",produces="application/json;charset=UTF-8" )
- 2013-10-21 17:06
- 浏览 278
- 评论(0)
先把子节点新建一个类。
如:
@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( ...
- 2013-10-21 11:35
- 浏览 678
- 评论(0)
这个如果没有写错包名什么的话,那就clean一下项目吧。
- 2013-10-17 16:33
- 浏览 774
- 评论(0)
<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 ...
- 2013-10-17 16:08
- 浏览 8341
- 评论(0)
利用SecureCRT上传、下载文件(使用sz与rz命令)
借助securtCRT,使用linux命令sz可以很方便的将服务器上的文件下载到本地,使用rz命令则是把本地文件上传到服务器。
其中,对于sz和rz的理解与记忆我用了如下的方法(很多时候容易搞混):
sz中的s意为send(发送),告诉客户端,我(服务器)要发送文件 send to cilent,就等同于客户端在下载。
rz中的r意为received(接收),告诉客户端,我(服务器)要接收文件 received by cilent,就等同于客户端在上传。
记住一点,不论是send还是receive ...
- 2013-10-16 11:19
- 浏览 478
- 评论(0)
主机端口+项目名+拦截的路径+application.wadl就可以了。
http://localhost:8080/restTest/rest/application.wadl
- 2013-10-15 11:03
- 浏览 668
- 评论(0)
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
- 浏览 563
- 评论(0)
1.数据库连接没写对
2.缺少驱动的jar包
- 2013-09-27 17:28
- 浏览 359
- 评论(0)