Category Archives: uml

solve erro uml ERROR: unable to get localhost information

When executing argouml

log4j:WARN No such property [follow] in org.apache.log4j.ConsoleAppender.
ERROR: unable to get localhost information. localhost.localdomain: localhost.localdomain
	at org.argouml.application.Main.checkHostsFile(
	at org.argouml.application.Main.initPreinitialize(
	at org.argouml.application.Main.main(
On Unix systems this usually indicates thatyour /etc/hosts file is incorrectly setup.
Stopping execution of ArgoUML.

My hostname is localhost.localdomain, see:

$ hostname 

And got ip

$ ifconfig | grep 192
          Direc. inet:  Difus.:  Másc:

So I added this line to /etc/hosts localhost.localdomain

And argouml worked