I have updated the war file an the src file
unable to upload file on my project
You need to have a display to configure this way. If you have a terminal you need...
Check on the tomcat log to see if its connecting to the database.
Use bytea for postgreSQL
You would need to create a field of type blob to save the image
Currently we use webdav to save all files to an external storage to keep the database...