- JDK 8
- Eclipse IDE for Enterprise Java Developers 2020-12
- WildFly 22.0.0.Final
- MySQL Database
- After github project cloning, import the project to Eclipse as 'Existing Maven Project'
- Execute the SQL code located in 'DbUtil.sql' project file
- Go to Window>Preferences>Server>Runtime Environments>'Add...'>'Red Hat Jboss Middleware'>' JBoss AS, WildFly, & EAP Server Tools'
- Accept all terms, finish it and install accepting all security conditions
- Restart Eclipse
- Once Eclipse is restarted, go to Window>Preferences>Server>Runtime Environments>'Add...'>JBoss Community'>'WildFly 22 Runtime'
- Browse the path to WildFly directory in 'Home Directory'
- In 'Runtime JRE' box select 'Alternate JRE:'> select the java version installed in your system
- Go to 'Servers' Eclipse view, right-click>New>Server>WildFly 22 and go always next then
- Right-click the project in 'Project Explorer' view, go to Properties>Targeted Runtimes>WildFly 22.0 Runtime>Apply and Close
- Go to https://mvnrepository.com/artifact/mysql/mysql-connector-java/8.0.22 and download the jar file
- Locally, go to the bin folder of your WildFly installation, execute the 'add-user.bat' or 'add-user.sh' script in command prompt
- Add a management user (a)> set username/password>(blank)>yes
- Go to 'http://localhost:8080/', 'Administration Console', log in, go to 'Deployments', 'Upload Deployment'> set our JDBC jar file> 'Next'> 'Finish'
- Go to 'Configuration'>'Subsystems'>'Datasources & Drivers'>'Datasources'>'Add Datasource'
- Set: 'MySQL'>'JNDI Name: java:/piMySqlDS'>'Driver Name: mysql-connector-java-8.0.22.jar'>
- Set: 'Connection URL: jdbc:mysql://localhost:3306/picompany', your database username/password
- Test the connection
- Locally, go to ~/.m2/repository/org/projectlombok/lombok/1.18.16/lombok-1.18.16.jar
- Run it, Install/Update
- In Eclipse, right-click the project and go to Maven>Update Project>OK
- Restart Eclipse