Error while running openmrs-core from netbeans IDE using GlassFish server 4.1

Did you get a chance to look at this? https://wiki.openmrs.org/display/docs/OpenMRS+SDK