- 博客(4)
- 资源 (2)
- 问答 (2)
- 收藏
- 关注
原创 查看端口占用,以及关闭占用端口的进程
在部署完项目后,启动项目,报错提示项目的端口被占用“bind”。1)cmd----输入命令:netstat -ano,可以查看所有端口的占用情况2)如果已经知道该项目使用的端口号,我的项目使用的端口号事8081。输入命令:netstat -aon|findstr "8081",即可看到是哪个进程占用着这个端口号,记下PID号码。千万不要试图只通过进程名称来结束进程,你会遇到在任务管理器中有...
2017-04-24 18:02:32 905
原创 The import XXX cannot be resolved
今天在eclipse导入类的时,一直提示The import XXX cannot be resolved。解决办法:1)右击项目,选中build path 最下面下的configure build path2)找到Libraries,发现jre system Libary 不符合要求3)Remove掉这个不符合要求的 jre4)点击Add Library,选择一个新的jre即
2017-04-24 17:50:22 2960
原创 Mysql中设置默认时间为系统当前时间
使用NaviCat For Mysql 来设置时间字段的默认值时,需要把时间字段类型设置为“timestamp”,然后再在默认值中填写“CURRENT_TIMESTAMP”,即可。
2017-04-21 11:58:52 26841 1
原创 .gitignore没有生效
在开发中,想把一些文件加入忽略规则,在gitignore文件中加上这些文件的忽略,还是没有生效。原因是,这些文件已经纳入了版本管理,要想使新加入的规则生效,需要把本地的缓存删掉,再提交。git rm -r --cachedgit add .git commit -m "update .gitignore"
2017-04-01 13:16:26 720 1
LinuxCommandLine中英文[快乐的linux命令行]
2018-09-21
ActiveMQ,使用设置监听的方式异步获取消息
2016-12-19
Ext itemeselect组件如何获取右边的值
2016-10-14
TA创建的收藏夹 TA关注的收藏夹
TA关注的人