- Download Eclipse, Apache Tomcat and H2
- Make sure Java and JDK is installed
- Import Project Directly to Eclipse by:
- 'Help > Install New Software > All Avaliable Sites > Web, XML, JavaEE > Install' then Restart
- Make git repository view visible in Eclipse from the menu 'Window > Show views > Other > Git > Git Repositories'
- Click on 'Clone a Git repository'
- Give Source as https://github.com/Deepak710/music-store.git
- Give the directory where the project is to be cloned. Make sure to check the box 'Import all existing Eclipse project after clone finishes'
- 'Properties > Java Build Path > Libraries > JRE System Libraries > Edit > Alternate JRE' and give the path to Java JDK instead of JRE important
- Run Queries.sql on H2 in a database called musicstore
- Run H2 Console
- Change saved settings to 'Generic H2 Server'
- Change JDBC URL to 'jdbc:h2:tcp://localhost/~/musicstore'
- If database name [or] username/password needs to be changed, make sure to reflect the changes in 'MusicBack > src > main > java > DMB > PRJ > MusicBack > config > HibernateConfig.java'
- Run the project on Tomcat Server in Eclipse
- 'Windows > Preferences > Server > Runtime Environments > Add... > Apache Tomcat v9.0'
- Browse for the install directory of Tomcat
- Get the Project report here
Contact Me: Telegram