The class was not seeing some imports from the same package, and some getters and setters for User.java were not written, so I wrote those and fixed the imports
FIX:: fixed packages
Everything now isn't in several subpackages in the Client, Common and Server package anymore, but straight in their respectable packages. Also fixed the package names
BUG FIX: fixed Client Application class not being able to see GetBean method
Don't really know how it got fixed, but resolving the import issues also fixed this bug.
EDIT::changed main class in build.gradle file to Client.Application
---------------
I now only get a bug where the fxmlloader can't see the fxml files, and thus I can't start the application. I get the error message "location not set" although I used fxmlloader.setLocation.
REMOVE:: removed the .gradle and build folders from the Client, Server and Common folders, also moved the contents that was in the src folders of these folders, to the folders themselves and deleted the src folders
EDIT:: edited the build.gradle file, build should now work
combined the build.gradle files in the Client, Server and Common folders into the build.gradle file in the root
REMOVE:: removed the Client and Server folders from the src folder
they were no longer necessary since everything now is in the GoGreen folder
EDIT:: edited .gitignore file
.gitignore file should now exclude the .idea and .gradle directories
FIX:: fixed the gradle build file.
had to set the main class, for testing purposes I set the GUI.logincontroller class as main class, but this will change
combined the contents of the two gradle build files into one, and put it into the root directory.
DELETE::removed pom.xml
deleted the pom.xml file, since it was used for maven and we use gradle in our project