Win 常见问题

来源:互联网 发布:java byte 0x00 编辑:程序博客网 时间:2024/05/20 02:52

1、8080端口被占用

问题:
Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost are already in use.The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).

解决方法:
1、重启电脑
2、在cmd中查找占用8080端口的进程并终结它

$netstat   -ano|findstr  8080 $taskkill  /pid  端口号  /f

2、出现2502/2503错误

问题:
如果出现the installer has encountered an unexpected error installing this package.this may indicate a problem with package.the error code is 2502.是因为权限不够,
解决1:权限不够,用管理员运行可以安装

3、其中的文件夹或文件已在另一个程序中打开

任务管理器 > 资源监视器 > 在“CPU”标签下的“关联的句柄”栏输入该文件或文件夹的名称 > 待搜索出结果后逐个右击关联的进程,并选择结束进程

原创粉丝点击