tomcat啟動總是出現Cannot assign requested address: JVM_Bind異常 解決方法: 將計算機的C:\Windows\System32\drivers\etc\hosts文件中發現如下部分內容: # localhost name resolution is handled within DNS itself. 127.0.0.1 localhost xx.xx.xx.xx localhost xx.xx.xx.xx 是一個不存在的本地IP地址,將hosts文件中的第二行內容xx.xx.xx.xx localhost去掉后,再次啟動TOMCAT,成功運行