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”標籤下的“關聯的句柄”欄輸入該文件或文件夾的名稱 > 待搜索出結果後逐個右擊關聯的進程,並選擇結束進程