My Team contains football and basketball teams. The users can select the favorite team with their information (name,surname, city etc.)
- Java 8
- Intellij IDEA
- Hibernate (5.2.12)
- Lombok (version must be 1.16.16 for getting no errors)
- MySQL Connector 5.1.46 or later
- Open README.md in IMPORT_DATABASE
- Open project on Intellij IDEA
- Open Edit Configurations...
- Select Module as MyTeam
- Add VM Options to this parameter :
-javaagent:"/_PROJECT_PATH_/lombok-1.16.16.jar"
- Select JRE 1.8 and Apply
- Right Click my-team-gwt [My Team] on Project Window and Open Module Settings
- Open Libraries screen Click + > Java and add
lombok-1.16.16
andmysql-connector-java-5.1.46
- Click + > From Maven... search
org.hibernate:hibernate-core:5.2.12.Final
and download. - Add Lombok plugin on IDEA -> link
- Edit
persistence.xml
- Change Processor path at
Preferences... > Build, Execution, Deployment > Compiler > Annotation Processors
with/_PROJECT_PATH_/lombok-1.16.16.jar