課程
/后端開發(fā)
/Java
/JAVA遇見HTML——JSP篇
Cannot?locate?document:?/
2018-08-03
源自:JAVA遇見HTML——JSP篇 1-4
正在回答
原因是8080端口被占用(可能是其他軟件,比如NI公司軟件,電子專業(yè)童鞋一般都裝有這類軟件)
解決方法1:
When I had an error Access Error: 404 -- Not Found I fixed it by doing the following:
Open command prompt and type "netstat -aon" (without the quotes)
Search for port 8080 and look at its PID number/code.
Open Task Manager (CTRL+ALT+DELETE), go to Services tab, and find the service with the exact PID number. Then right click it and stop the process.
由于我沒有在netstat -aon中找到8080 port,所以選擇方法2:
解決方法2:
記事本打開tomcat安裝文件的conf中server.xml,將
<Connector port="8080" protocol="HTTP/1.1"
? ? ? ? ? ? ? ?connectionTimeout="20000"
? ? ? ? ? ? ? ?redirectPort="8443" />
中的8080改為8081,保存,重新啟動bin目錄下shutdown 然后statup,在地址欄輸入http://localhost:8081/
————————————————
版權(quán)聲明:本文為CSDN博主「故鄉(xiāng)的風(fēng)景」的原創(chuàng)文章,遵循 CC 4.0 BY-SA 版權(quán)協(xié)議,轉(zhuǎn)載請附上原文出處鏈接及本聲明。
原文鏈接:https://blog.csdn.net/WtMaple/article/details/84026905
找不到本地文件 ,路徑錯(cuò)了,注意大小寫之類的
舉報(bào)
Java Web入門級教程JSP,帶你輕松的學(xué)習(xí)JSP基礎(chǔ)知識
1 回答配置問題ERROR
1 回答應(yīng)該是配置環(huán)境的問題
4 回答配置tomcat出現(xiàn)問題
7 回答為什么servlet.xml配置了還是亂碼
2 回答配置完以后 startup打不開一閃而過是為什么啊
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2019-12-06
原因是8080端口被占用(可能是其他軟件,比如NI公司軟件,電子專業(yè)童鞋一般都裝有這類軟件)
解決方法1:
When I had an error Access Error: 404 -- Not Found I fixed it by doing the following:
Open command prompt and type "netstat -aon" (without the quotes)
Search for port 8080 and look at its PID number/code.
Open Task Manager (CTRL+ALT+DELETE), go to Services tab, and find the service with the exact PID number. Then right click it and stop the process.
由于我沒有在netstat -aon中找到8080 port,所以選擇方法2:
解決方法2:
記事本打開tomcat安裝文件的conf中server.xml,將
<Connector port="8080" protocol="HTTP/1.1"
? ? ? ? ? ? ? ?connectionTimeout="20000"
? ? ? ? ? ? ? ?redirectPort="8443" />
中的8080改為8081,保存,重新啟動bin目錄下shutdown 然后statup,在地址欄輸入http://localhost:8081/
————————————————
版權(quán)聲明:本文為CSDN博主「故鄉(xiāng)的風(fēng)景」的原創(chuàng)文章,遵循 CC 4.0 BY-SA 版權(quán)協(xié)議,轉(zhuǎn)載請附上原文出處鏈接及本聲明。
原文鏈接:https://blog.csdn.net/WtMaple/article/details/84026905
2018-08-03
找不到本地文件 ,路徑錯(cuò)了,注意大小寫之類的