Accepted answer

in eclipse project---> clean --> clean all projects---> ok. try to run the project run as server.


right click on the glassfish server -> properties -> glassfish -> tick on the use jar archives for deployment. (at the bottom)

this might work.

and also if you get any domain related errors, just change the location of the installed glassfish server from c: drive to other drives as glassfish needs administrative access if placed in c: drive. so better place in other drives.

Related Query

More Query from same tag