java - Cannot resolve hostname (localhost) on eclipse -


hey i'am using eclipse run java applications when running application showing error

unable load page

problem occurred while loading url http://localhost:8080/loan_management/admin.html

cannot resolve hostname (localhost)

how resolve problem?

the error you're getting due server (tomcat) not running or it's not configured properly.
steps setup tomcat server in eclipse: https://www.eclipse.org/webtools/jst/components/ws/1.0/tutorials/installtomcat/installtomcat.html

if using proxy in server need configure settings well. can set required properties when starting jvm.
in eclipse run-> run configuration-> argument tab, set vm argument

-dhttp.proxyhost=your/proxy/server.com  -dhttp.proxyport=80 

Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -