Skip to content

AMIT-re/OnlineVotingSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secure Voting System - Easy Setup Guide

Quick Start Guide

1. Install Required Software

  1. Download and install Eclipse IDE for Enterprise Java and Web Developers

  2. Download and install MySQL

2. Import Project in Eclipse

  1. Open Eclipse
  2. Go to File -> Import
  3. Select "Maven -> Existing Maven Projects"
  4. Browse to the project folder
  5. Click "Finish"

3. Set up Database

  1. Open MySQL Workbench (installed with MySQL)
  2. Click on the local connection
  3. Enter password: root
  4. Click on "Create a new SQL tab"
  5. Copy and paste the contents of src/main/resources/schema.sql
  6. Click the lightning bolt icon to execute

4. Run the Project

  1. Right-click on the project in Eclipse
  2. Select "Run As -> Run on Server"
  3. Choose "Tomcat v10.0" (it comes with Eclipse)
  4. Click "Finish"

5. Access the Application

Troubleshooting

If you get database connection errors:

  1. Make sure MySQL is running
  2. Check if the database is created:
    • Open MySQL Workbench
    • Run: SHOW DATABASES;
    • You should see secure_voting_system

If you get server errors:

  1. Check the Console view in Eclipse
  2. Make sure Tomcat is properly configured
  3. Try cleaning and rebuilding the project:
    • Right-click project -> Run As -> Maven clean
    • Right-click project -> Run As -> Maven install

If you can't access the application:

  1. Check if Tomcat is running (look for the server in Eclipse's Servers view)
  2. Try accessing: http://localhost:8080
  3. Make sure no other application is using port 8080

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published