自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (2)
  • 问答 (2)
  • 收藏
  • 关注

原创 查看端口占用,以及关闭占用端口的进程

在部署完项目后,启动项目,报错提示项目的端口被占用“bind”。 1)cmd----输入命令:netstat -ano,可以查看所有端口的占用情况 2)如果已经知道该项目使用的端口号,我的项目使用的端口号事8081。输入命令:netstat -aon|findstr "8081",即可看到是哪个进程占用着这个端口号,记下PID号码。千万不要试图只通过进程名称来结束进程,你会遇到在任务管理器中有...

2017-04-24 18:02:32 904

原创 The import XXX cannot be resolved

今天在eclipse导入类的时,一直提示The import XXX cannot be resolved。 解决办法: 1)右击项目,选中build path 最下面下的configure build path 2)找到Libraries,发现jre system Libary 不符合要求 3)Remove掉这个不符合要求的 jre 4)点击Add Library,选择一个新的jre即

2017-04-24 17:50:22 2959

原创 Mysql中设置默认时间为系统当前时间

使用NaviCat For Mysql 来设置时间字段的默认值时,需要把时间字段类型设置为“timestamp”,然后再在默认值中填写“CURRENT_TIMESTAMP”,即可。

2017-04-21 11:58:52 26824 1

原创 .gitignore没有生效

在开发中,想把一些文件加入忽略规则,在gitignore文件中加上这些文件的忽略,还是没有生效。原因是,这些文件已经纳入了版本管理,要想使新加入的规则生效,需要把本地的缓存删掉,再提交。 git rm -r --cached git add . git commit -m "update .gitignore"

2017-04-01 13:16:26 720 1

LinuxCommandLine中英文[快乐的linux命令行]

When we speak of the command line, we are really referring to the shell. The shell is a program that takes keyboard commands and passes them to the operating system to carry out. Almost all Linux distributions supply a shell program from the GNU Project called bash. The name “bash” is an acronym for “Bourne Again SHell”, a reference to the fact bash is an enhanced replacement for sh, the original Unix shell program written by Steve Bourne.

2018-09-21

google.zxing

使用zxing生成二维码

2017-07-13

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除