I have started a simple Struts Project . It has a login form and registerform on the first page. However When I tried to start the Tomcat server , the server doesn't start.
It throws a SQLIntegrityConstraintViolationException even when the underlying table has no data yet.
The bold line in the code belongs to the following java class.
You have a unique constraint on that table, and you're trying to insert a value in a column that already has that value in another record. You'll have to check your database schema to find out which column that is.