Thanks Laurenz . I changed the address as you said and it worked.
wrong:jdbc:postgresql://192.168.2.3:8080/database/FormAjax?user=postgres&password=form
right:jdbc:postgresql://192.168.2.3:8080/formajax?user=postgres&password=form